Home
last modified time | relevance | path

Searched refs:u32Ep (Results 1 – 2 of 2) sorted by relevance

/hal_nuvoton-latest/m48x/StdDriver/inc/
Dhsusbd.h196 __STATIC_INLINE void HSUSBD_SetEpBufAddr(uint32_t u32Ep, uint32_t u32Base, uint32_t u32Len) in HSUSBD_SetEpBufAddr() argument
198 if (u32Ep == CEP) in HSUSBD_SetEpBufAddr()
205 HSUSBD->EP[u32Ep].EPBUFST = u32Base; in HSUSBD_SetEpBufAddr()
206 HSUSBD->EP[u32Ep].EPBUFEND = u32Base + u32Len - 1ul; in HSUSBD_SetEpBufAddr()
218 __STATIC_INLINE void HSUSBD_ConfigEp(uint32_t u32Ep, uint32_t u32EpNum, uint32_t u32EpType, uint32_… in HSUSBD_ConfigEp() argument
222 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_AUTO); in HSUSBD_ConfigEp()
226 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_MANUAL); in HSUSBD_ConfigEp()
230 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_FLY); in HSUSBD_ConfigEp()
233 HSUSBD->EP[u32Ep].EPCFG = (u32EpType|u32EpDir|HSUSBD_EP_CFG_VALID|(u32EpNum << 4)); in HSUSBD_ConfigEp()
242 __STATIC_INLINE void HSUSBD_SetEpStall(uint32_t u32Ep) in HSUSBD_SetEpStall() argument
[all …]
/hal_nuvoton-latest/m46x/StdDriver/inc/
Dhsusbd.h225 __STATIC_INLINE void HSUSBD_SetEpBufAddr(uint32_t u32Ep, uint32_t u32Base, uint32_t u32Len) in HSUSBD_SetEpBufAddr() argument
227 if (u32Ep == CEP) in HSUSBD_SetEpBufAddr()
234 HSUSBD->EP[u32Ep].EPBUFST = u32Base; in HSUSBD_SetEpBufAddr()
235 HSUSBD->EP[u32Ep].EPBUFEND = u32Base + u32Len - 1ul; in HSUSBD_SetEpBufAddr()
247 __STATIC_INLINE void HSUSBD_ConfigEp(uint32_t u32Ep, uint32_t u32EpNum, uint32_t u32EpType, uint32_… in HSUSBD_ConfigEp() argument
251 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_AUTO); in HSUSBD_ConfigEp()
255 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_MANUAL); in HSUSBD_ConfigEp()
259 HSUSBD->EP[u32Ep].EPRSPCTL = (HSUSBD_EP_RSPCTL_FLUSH|HSUSBD_EP_RSPCTL_MODE_FLY); in HSUSBD_ConfigEp()
262 HSUSBD->EP[u32Ep].EPCFG = (u32EpType|u32EpDir|HSUSBD_EP_CFG_VALID|(u32EpNum << 4)); in HSUSBD_ConfigEp()
271 __STATIC_INLINE void HSUSBD_SetEpStall(uint32_t u32Ep) in HSUSBD_SetEpStall() argument
[all …]