![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
M480 HSUSBD driver header file. More...
Go to the source code of this file.
Data Structures | |
struct | HSUSBD_CMD_STRUCT |
struct | s_hsusbd_info |
Typedefs | |
typedef struct HSUSBD_CMD_STRUCT | S_HSUSBD_CMD_T |
typedef struct s_hsusbd_info | S_HSUSBD_INFO_T |
typedef void(* | HSUSBD_VENDOR_REQ) (void) |
typedef void(* | HSUSBD_CLASS_REQ) (void) |
typedef void(* | HSUSBD_SET_INTERFACE_REQ) (uint32_t u32AltInterface) |
Functions | |
__STATIC_INLINE void | HSUSBD_MemCopy (uint8_t u8Dst[], uint8_t u8Src[], uint32_t u32Size) |
HSUSBD_memcpy, Copy bytes hardware limitation. More... | |
__STATIC_INLINE void | HSUSBD_ResetDMA (void) |
HSUSBD_ResetDMA. More... | |
__STATIC_INLINE void | HSUSBD_SetEpBufAddr (uint32_t u32Ep, uint32_t u32Base, uint32_t u32Len) |
HSUSBD_SetEpBufAddr, Set Endpoint buffer address. More... | |
__STATIC_INLINE void | HSUSBD_ConfigEp (uint32_t u32Ep, uint32_t u32EpNum, uint32_t u32EpType, uint32_t u32EpDir) |
HSUSBD_ConfigEp, Config Endpoint. More... | |
__STATIC_INLINE void | HSUSBD_SetEpStall (uint32_t u32Ep) |
Set USB endpoint stall state. More... | |
__STATIC_INLINE void | HSUSBD_SetStall (uint32_t u32EpNum) |
Set USB endpoint stall state. More... | |
__STATIC_INLINE void | HSUSBD_ClearEpStall (uint32_t u32Ep) |
Clear USB endpoint stall state. More... | |
__STATIC_INLINE void | HSUSBD_ClearStall (uint32_t u32EpNum) |
Clear USB endpoint stall state. More... | |
__STATIC_INLINE uint32_t | HSUSBD_GetEpStall (uint32_t u32Ep) |
Get USB endpoint stall state. More... | |
__STATIC_INLINE uint32_t | HSUSBD_GetStall (uint32_t u32EpNum) |
Get USB endpoint stall state. More... | |
void | HSUSBD_Open (S_HSUSBD_INFO_T *param, HSUSBD_CLASS_REQ pfnClassReq, HSUSBD_SET_INTERFACE_REQ pfnSetInterface) |
HSUSBD Initial. More... | |
void | HSUSBD_Start (void) |
HSUSBD Start. More... | |
void | HSUSBD_ProcessSetupPacket (void) |
Process Setup Packet. More... | |
void | HSUSBD_StandardRequest (void) |
Process USB standard request. More... | |
void | HSUSBD_UpdateDeviceState (void) |
Update Device State. More... | |
void | HSUSBD_PrepareCtrlIn (uint8_t pu8Buf[], uint32_t u32Size) |
Prepare Control IN transaction. More... | |
void | HSUSBD_CtrlIn (void) |
Start Control IN transfer. More... | |
void | HSUSBD_CtrlOut (uint8_t pu8Buf[], uint32_t u32Size) |
Start Control OUT transaction. More... | |
void | HSUSBD_SwReset (void) |
Clear all software flags. More... | |
void | HSUSBD_SetVendorRequest (HSUSBD_VENDOR_REQ pfnVendorReq) |
HSUSBD Set Vendor Request. More... | |
M480 HSUSBD driver header file.
SPDX-License-Identifier: Apache-2.0
Definition in file hsusbd.h.