Collaboration diagram for USB device operating mode configuration:
![]() |
Modules | |
USB device custom actions | |
Defines | |
#define | Usb_unicode(a) ((U16)(a)) |
#define | NB_ENDPOINTS 2 |
#define | EP_HID_IN 1 |
#define | EP_HID_OUT 2 |
Functions | |
void | sof_action (void) |
sof_action |
|
Definition at line 146 of file conf_usb.h. |
|
Definition at line 148 of file conf_usb.h. Referenced by usb_enum_var_init(). |
|
Definition at line 149 of file conf_usb.h. Referenced by hid_task(), and usb_user_endpoint_init(). |
|
Definition at line 150 of file conf_usb.h. Referenced by hid_task(), and usb_user_endpoint_init(). |
|
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
Definition at line 159 of file hid_task.c. References cpt_sof. 00160 { 00161 cpt_sof++; 00162 }
|