Modules | |
USB device custom actions | |
USB device SCSI custom actions | |
Macros | |
#define | EP_MS_IN 1 |
#define | EP_MS_OUT 2 |
#define | NB_ENDPOINTS 3 |
#define | SBC_PRODUCT_ID "UC3 CTRLPANEL " |
#define | SBC_REVISION_ID "0.00" |
#define | SBC_VENDOR_ID "ATMEL " |
Functions | |
void | usb_sof_action (void) |
usb_sof_action More... | |
void | usb_suspend_action (void) |
#define EP_MS_IN 1 |
#define EP_MS_OUT 2 |
#define NB_ENDPOINTS 3 |
#define SBC_PRODUCT_ID "UC3 CTRLPANEL " |
#define SBC_REVISION_ID "0.00" |
#define SBC_VENDOR_ID "ATMEL " |
usb_sof_action
This function increments the sof_cnt counter each time the USB Start-of-Frame interrupt subroutine is executed (1 ms). Useful to manage time delays
References AVR32_PM_MCSEL_SLOW, cpu_delay_us(), pm_cksel(), pm_cksel_get(), pm_cksel_set(), pm_get_clock(), pm_switch_to_clock(), and SLEEP.