SAMV71 Xplained Ultra Software Package 1.4

main.h File Reference

Declaration of main function used by example. More...

#include "diskio.h"
#include "ff.h"
#include "ffconf.h"
#include "integer.h"
#include "ctrl_access.h"
#include "USBH.h"

Go to the source code of this file.

Functions

void main_usb_sof_event (void)
 Notify that a SOF has been sent (each 1 ms).
void main_usb_connection_event (USBH_device_t *dev, bool b_present)
 Notify that a USB device has been connected or disconnected.

Detailed Description

Declaration of main function used by example.

Copyright (C) 2014-2015 Atmel Corporation. All rights reserved.

Definition in file main.h.


Function Documentation

void main_usb_connection_event ( USBH_device_t dev,
bool  b_present 
)

Notify that a USB device has been connected or disconnected.

Parameters:
dev Pointer on USB device information
b_present true, if the device has been connected

Definition at line 227 of file main.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines