main.c
Default mainpageusb-device-core-projectmain.c
Description Overview
Classes Brief description
 SimpleConfigurationDescriptors Configuration descriptors with one interface.
Methods  
 main Initializes the system, connects the USB and waits indefinitely.
 USBDCallbacks_RequestReceived Invoked whenever a SETUP request is received from the host.
 USBDCallbacks_Resumed Invoked when the USB device leaves the Suspended state.
 USBDCallbacks_Suspended Invoked when the USB device gets suspended. By default, turns off all LEDs.
Defines  
 STATE_IDLE Use for power management.
 STATE_RESUME The USB device is in resume state.
 STATE_SUSPEND The USB device is in suspend state.
Attributes  
 configurationDescriptors Configuration descriptors.
 usbdDriver USB standard device driver.
 usbdDriverDescriptors List of descriptors used by the device.
 usbDeviceDescriptor Device descriptor.
 USBState State of USB, for suspend and resume.