Modules | |
USB device custom actions | |
Defines | |
#define | USB_DEVICE_SN_USE DISABLE |
#define | USE_DEVICE_SN_UNIQUE DISABLE |
#define | NB_ENDPOINTS 4 |
#define | TX_EP 0x01 |
#define | RX_EP 0x02 |
#define | INT_EP 0x03 |
#define | USB_REMOTE_WAKEUP_FEATURE DISABLED |
#define | VBUS_SENSING_IO DISABLED |
#define | USB_RESET_CPU DISABLED |
#define | Usb_unicode(a) ((U16)(a)) |
Functions | |
void | sof_action (void) |
void | suspend_action (void) |
#define USB_DEVICE_SN_USE DISABLE |
Definition at line 91 of file conf_usb.h.
#define USE_DEVICE_SN_UNIQUE DISABLE |
Definition at line 92 of file conf_usb.h.
#define NB_ENDPOINTS 4 |
Definition at line 94 of file conf_usb.h.
#define TX_EP 0x01 |
Definition at line 95 of file conf_usb.h.
Referenced by uart_usb_send_buffer(), usart_receive_interrupt(), usb_user_endpoint_init(), and usb_user_interface_reset().
#define RX_EP 0x02 |
Definition at line 96 of file conf_usb.h.
Referenced by uart_usb_getchar(), uart_usb_test_hit(), usb_user_endpoint_init(), and usb_user_interface_reset().
#define INT_EP 0x03 |
Definition at line 97 of file conf_usb.h.
Referenced by cdc_update_serial_state(), usb_user_endpoint_init(), and usb_user_interface_reset().
#define USB_REMOTE_WAKEUP_FEATURE DISABLED |
#define VBUS_SENSING_IO DISABLED |
Definition at line 101 of file conf_usb.h.
#define USB_RESET_CPU DISABLED |
Definition at line 103 of file conf_usb.h.
#define Usb_unicode | ( | a | ) | ((U16)(a)) |
Definition at line 105 of file conf_usb.h.
void sof_action | ( | void | ) |
sof_action This function increments the cpt_sof counter each times the USB Start Of Frame interrupt subroutine is executed (1ms) Usefull to manage time delays
none |
Definition at line 178 of file cdc_task.c.
References cpt_sof.
00179 { 00180 cpt_sof++; 00181 }
void suspend_action | ( | void | ) |