main.c
Default mainpageusb-device-hid-transfer-projectmain.c
Description Overview
Methods Brief description
 main Initializes the system and then monitors buttons, sending the corresponding character when one is pressed.
 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  
 DEBOUNCE_TIME Delay for pushbutton debouncing (ms).
 PIT_PERIOD PIT period value (uSeconds).
 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  
 USBState State of USB, for suspend and resume.