LUFA Library  120219
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"

Functions

void USB_USBTask (void)

Variables

volatile bool USB_IsInitialized
USB_Request_Header_t USB_ControlRequest
volatile uint8_t USB_HostState
volatile uint8_t USB_DeviceState

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.

Note:
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.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines