LUFA Library  140302
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USBTask.h File Reference

Main USB service task management. More...

#include "../../../Common/Common.h"
#include "USBMode.h"
#include "USBController.h"
#include "Events.h"
#include "StdRequestType.h"
#include "StdDescriptors.h"
#include "DeviceStandardReq.h"
#include "HostStandardReq.h"


void USB_USBTask (void)


USB_Request_Header_t USB_ControlRequest
volatile uint8_t USB_DeviceState
volatile uint8_t USB_HostState
volatile bool USB_IsInitialized

Detailed Description

This file contains the function definitions required for the main USB service task, which must be called from the user application to ensure that the USB connection to or from a connected USB device is maintained.

This file should not be included directly. It is automatically included as needed by the USB driver dispatch header located in LUFA/Drivers/USB/USB.h.