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 |
#define Usb_unicode | ( | a | ) | ((U16)(a)) |
Definition at line 146 of file conf_usb.h.
#define NB_ENDPOINTS 2 |
Definition at line 148 of file conf_usb.h.
#define EP_HID_IN 1 |
#define EP_HID_OUT 2 |
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 164 of file hid_task.c.
References cpt_sof.
00165 { 00166 cpt_sof++; 00167 }