Modules | |
| USB device custom actions | |
Defines | |
| #define | USB_DEVICE_SN_USE ENABLE |
| #define | USE_DEVICE_SN_UNIQUE DISABLE |
| #define | NB_ENDPOINTS 3 |
| #define | EP_MS_IN 1 |
| #define | EP_MS_OUT 2 |
| #define | USB_REMOTE_WAKEUP_FEATURE DISABLE |
| #define | Usb_unicode(a) ((U16)(a)) |
Functions | |
| 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. | |
| #define USB_DEVICE_SN_USE ENABLE |
Definition at line 173 of file conf_usb.h.
| #define USE_DEVICE_SN_UNIQUE DISABLE |
Definition at line 174 of file conf_usb.h.
| #define NB_ENDPOINTS 3 |
Definition at line 176 of file conf_usb.h.
| #define EP_MS_IN 1 |
Definition at line 177 of file conf_usb.h.
Referenced by usb_mass_storage_cbw(), usb_mass_storage_csw(), usb_user_endpoint_init(), and usb_user_interface_reset().
| #define EP_MS_OUT 2 |
Definition at line 178 of file conf_usb.h.
Referenced by storage_task(), usb_mass_storage_cbw(), usb_mass_storage_csw(), usb_user_endpoint_init(), and usb_user_interface_reset().
| #define USB_REMOTE_WAKEUP_FEATURE DISABLE |
Definition at line 180 of file conf_usb.h.
Referenced by usb_clear_feature(), and usb_set_feature().
| #define Usb_unicode | ( | a | ) | ((U16)(a)) |
Definition at line 182 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 119 of file storage_task.c.
00120 { 00121 cpt_sof++; 00122 }
1.5.3