Atmel Software Framework

usb_device_task.c File Reference
#include "conf_usb.h"
#include "compiler.h"
#include "usb_drv.h"
#include "usb_task.h"
#include "usb_descriptors.h"
#include "usb_standard_request.h"
#include "usb_device_task.h"

Functions

void usb_device_task (void)
 Entry point of the USB device management. More...
 
void usb_device_task_init (void)
 This function initializes the USB device controller. More...
 
void usb_start_device (void)
 This function starts the USB device controller. More...
 

Variables

volatile bool usb_connected
 Public : (bool) usb_connected usb_connected is set to true when VBus has been detected usb_connected is set to false otherwise. More...
 

volatile bool usb_connected

Public : (bool) usb_connected usb_connected is set to true when VBus has been detected usb_connected is set to false otherwise.

Public: bool usb_connected usb_connected is set to true when VBus has been detected usb_connected is set to false otherwise Used with USB_DEVICE_FEATURE == true only.

Referenced by ai_hid_class_get_device_status(), if(), usb_device_task(), usb_device_task_init(), usb_general_interrupt(), and usb_start_device().