Modules | |
USB device custom actions | |
Defines | |
#define | EP_AUDIO_IN 6 |
#define | EP_AUDIO_OUT 5 |
#define | EP_KBD_IN 1 |
#define | NB_ENDPOINTS 4 |
Functions | |
void | usb_sof_action (void) |
usb_sof_action | |
void | usb_suspend_action (void) |
#define EP_AUDIO_IN 6 |
Definition at line 231 of file conf_usb.h.
Referenced by adc_sample_sent_cb(), device_audio_task(), and usb_user_endpoint_init().
#define EP_AUDIO_OUT 5 |
Definition at line 230 of file conf_usb.h.
Referenced by device_audio_task(), and usb_user_endpoint_init().
#define EP_KBD_IN 1 |
Definition at line 232 of file conf_usb.h.
Referenced by device_hid_task(), and usb_user_endpoint_init().
#define NB_ENDPOINTS 4 |
Definition at line 229 of file conf_usb.h.
void usb_sof_action | ( | void | ) |
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
Definition at line 527 of file device_audio_task.c.
00528 { 00529 sof_cnt++; 00530 }
void usb_suspend_action | ( | void | ) |