![]() |
Nano100AN Series BSP
V3.02.002
The Board Support Package for Nano100AN Series
|
NANO100 series USBD driver Sample file. More...
Go to the source code of this file.
Functions | |
| void | USBD_Open (S_USBD_INFO_T *param, CLASS_REQ pfnClassReq, SET_INTERFACE_REQ pfnSetInterface) |
| USBD Initial, Enable clock and reset USB. More... | |
| void | USBD_Start (void) |
| USBD Start. More... | |
| void | USBD_GetSetupPacket (uint8_t *buf) |
| Get Setup Packet. More... | |
| void | USBD_ProcessSetupPacket (void) |
| Process Setup Packet. More... | |
| void | USBD_GetDescriptor (void) |
| Get Descriptor request. More... | |
| void | USBD_StandardRequest (void) |
| Process USB standard request. More... | |
| void | USBD_PrepareCtrlIn (uint8_t *pu8Buf, uint32_t u32Size) |
| Prepare Control IN transaction. More... | |
| void | USBD_CtrlIn (void) |
| Start Control IN transfer. More... | |
| void | USBD_PrepareCtrlOut (uint8_t *pu8Buf, uint32_t u32Size) |
| Prepare Control OUT transaction. More... | |
| void | USBD_CtrlOut (void) |
| Start Control OUT transfer. More... | |
| void | USBD_SwReset (void) |
| Clear all software flags. More... | |
| void | USBD_SetVendorRequest (VENDOR_REQ pfnVendorReq) |
| USBD Set Vendor Request. More... | |
| void | USBD_SetConfigCallback (SET_CONFIG_CB pfnSetConfigCallback) |
| The callback function which called when get SET CONFIGURATION request. More... | |
| void | USBD_LockEpStall (uint32_t u32EpBitmap) |
Variables | |
| uint8_t | g_usbd_SetupPacket [8] = {0} |
| volatile uint8_t | g_usbd_RemoteWakeupEn = 0 |
| S_USBD_INFO_T * | g_usbd_sInfo |
| VENDOR_REQ | g_usbd_pfnVendorRequest = NULL |
| CLASS_REQ | g_usbd_pfnClassRequest = NULL |
| SET_INTERFACE_REQ | g_usbd_pfnSetInterface = NULL |
| SET_CONFIG_CB | g_usbd_pfnSetConfigCallback = NULL |
| uint32_t | g_u32EpStallLock = 0 |
NANO100 series USBD driver Sample file.
Definition in file usbd.c.
| void USBD_GetDescriptor | ( | void | ) |
| uint32_t g_u32EpStallLock = 0 |
| SET_CONFIG_CB g_usbd_pfnSetConfigCallback = NULL |
| SET_INTERFACE_REQ g_usbd_pfnSetInterface = NULL |
| VENDOR_REQ g_usbd_pfnVendorRequest = NULL |
| S_USBD_INFO_T* g_usbd_sInfo |
1.8.15