Modules | |
USB device custom actions | |
Defines | |
#define | INT_EP 0x03 |
#define | NB_ENDPOINTS 4 |
#define | RX_EP 0x02 |
#define | TX_EP 0x01 |
Functions | |
void | usb_sof_action (void) |
usb_sof_action | |
void | usb_suspend_action (void) |
#define INT_EP 0x03 |
#define NB_ENDPOINTS 4 |
Definition at line 206 of file conf_usb.h.
#define RX_EP 0x02 |
Definition at line 208 of file conf_usb.h.
Referenced by uart_usb_getchar(), uart_usb_test_hit(), and usb_user_endpoint_init().
#define TX_EP 0x01 |
Definition at line 207 of file conf_usb.h.
Referenced by uart_usb_flush(), uart_usb_putchar(), uart_usb_tx_ready(), and usb_user_endpoint_init().
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 216 of file device_cdc_task.c.
00217 { 00218 sof_cnt++; 00219 }
void usb_suspend_action | ( | void | ) |