![]() |
NUC472_NUC442_BSP V3.03.004
The Board Support Package for NUC472/NUC442
|
NUC472/NUC442 USBD driver header file. More...
Go to the source code of this file.
Data Structures | |
struct | USBD_CMD_STRUCT |
struct | s_usbd_info |
Typedefs | |
typedef struct USBD_CMD_STRUCT | S_USBD_CMD_T |
typedef struct s_usbd_info | S_USBD_INFO_T |
typedef void(* | VENDOR_REQ) (void) |
typedef void(* | CLASS_REQ) (void) |
typedef void(* | SET_INTERFACE_REQ) (uint32_t u32AltInterface) |
Functions | |
static __INLINE void | USBD_MemCopy (uint8_t *u8Dst, uint8_t *u8Src, int32_t i32Size) |
USBD_memcpy, Copy bytes hardware limitation. More... | |
static __INLINE void | USBD_ResetDMA (void) |
USBD_ResetDMA. More... | |
static __INLINE void | USBD_SetEpBufAddr (uint32_t u32Ep, uint32_t u32Base, uint32_t u32Len) |
USBD_SetEpBufAddr, Set Endpoint buffer address. More... | |
static __INLINE void | USBD_ConfigEp (uint32_t u32Ep, uint32_t u32EpNum, uint32_t u32EpType, uint32_t u32EpDir) |
USBD_ConfigEp, Config Endpoint. More... | |
static __INLINE void | USBD_SetEpStall (uint32_t u32Ep) |
Set USB endpoint stall state. More... | |
static __INLINE void | USBD_SetStall (uint32_t u32EpNum) |
Set USB endpoint stall state. More... | |
static __INLINE void | USBD_ClearEpStall (uint32_t u32Ep) |
Clear USB endpoint stall state. More... | |
static __INLINE void | USBD_ClearStall (uint32_t u32EpNum) |
Clear USB endpoint stall state. More... | |
static __INLINE uint32_t | USBD_GetEpStall (uint32_t u32Ep) |
Get USB endpoint stall state. More... | |
static __INLINE uint32_t | USBD_GetStall (uint32_t u32EpNum) |
Get USB endpoint stall state. More... | |
void | USBD_Open (S_USBD_INFO_T *param, CLASS_REQ pfnClassReq, SET_INTERFACE_REQ pfnSetInterface) |
USBD Initial. More... | |
void | USBD_Start (void) |
USBD Start. More... | |
void | USBD_ProcessSetupPacket (void) |
Process Setup Packet. More... | |
void | USBD_StandardRequest (void) |
Process USB standard request. More... | |
void | USBD_UpdateDeviceState (void) |
Update Device State. 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_CtrlOut (uint8_t *pu8Buf, uint32_t u32Size) |
Start Control OUT transaction. More... | |
void | USBD_SwReset (void) |
Clear all software flags. More... | |
void | USBD_SetVendorRequest (VENDOR_REQ pfnVendorReq) |
USBD Set Vendor Request. More... | |
NUC472/NUC442 USBD driver header file.
Definition in file usbd.h.