Modules | |
| USB device custom actions | |
Defines | |
| #define | USB_DEVICE_SN_USE DISABLE |
| #define | USE_DEVICE_SN_UNIQUE DISABLE |
| #define | NB_ENDPOINTS 2 |
| #define | EP_HID_IN 1 |
| #define | EP_HID_OUT 2 |
| #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) |
| #define USB_DEVICE_SN_USE DISABLE |
Definition at line 89 of file conf_usb.h.
| #define USE_DEVICE_SN_UNIQUE DISABLE |
Definition at line 90 of file conf_usb.h.
| #define NB_ENDPOINTS 2 |
Definition at line 92 of file conf_usb.h.
| #define EP_HID_IN 1 |
Definition at line 93 of file conf_usb.h.
Referenced by hid_report_in(), usb_user_endpoint_init(), and usb_user_interface_reset().
| #define EP_HID_OUT 2 |
Definition at line 94 of file conf_usb.h.
Referenced by hid_report_out(), usb_user_endpoint_init(), and usb_user_interface_reset().
| #define USB_REMOTE_WAKEUP_FEATURE DISABLED |
| #define VBUS_SENSING_IO DISABLED |
Definition at line 98 of file conf_usb.h.
| #define USB_RESET_CPU DISABLED |
Definition at line 100 of file conf_usb.h.
| #define Usb_unicode | ( | a | ) | ((U16)(a)) |
Definition at line 102 of file conf_usb.h.
| void sof_action | ( | void | ) |
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 180 of file hid_task.c.
00181 { 00182 cpt_sof++; 00183 }
1.5.3