Home
last modified time | relevance | path

Searched refs:pUSBD (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dusbd.c73 USBD_T *pUSBD; in USBD_Open() local
77 pUSBD = USBD_NS; in USBD_Open()
81 pUSBD = USBD; in USBD_Open()
93 pUSBD->ATTR = 0x7D0UL | USBD_LPMACK; in USBD_Open()
95 pUSBD->ATTR = 0x7D0UL; in USBD_Open()
320 USBD_T *pUSBD; in USBD_StandardRequest() local
325 pUSBD = USBD_NS; in USBD_StandardRequest()
330 pUSBD = USBD; in USBD_StandardRequest()
442 … if(((pUSBD->EP[i].CFG & 0xFUL) == epNum) && ((g_USBD_u32EpStallLock & (1UL << i)) == 0UL)) in USBD_StandardRequest()
444 pUSBD->EP[i].CFGP &= ~USBD_CFGP_SSTALL_Msk; in USBD_StandardRequest()
[all …]
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Dusbd.h643 USBD_T *pUSBD; in USBD_SetStall() local
647 pUSBD = USBD_NS; in USBD_SetStall()
651 pUSBD = USBD; in USBD_SetStall()
656 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFG; /* USBD_CFG0 */ in USBD_SetStall()
661 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFGP; /* USBD_CFGP0 */ in USBD_SetStall()
684 USBD_T *pUSBD; in USBD_ClearStall() local
688 pUSBD = USBD_NS; in USBD_ClearStall()
692 pUSBD = USBD; in USBD_ClearStall()
697 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFG; /* USBD_CFG0 */ in USBD_ClearStall()
702 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFGP; /* USBD_CFGP0 */ in USBD_ClearStall()
[all …]
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dusbd.h643 USBD_T *pUSBD; in USBD_SetStall() local
647 pUSBD = USBD_NS; in USBD_SetStall()
651 pUSBD = USBD; in USBD_SetStall()
656 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFG; /* USBD_CFG0 */ in USBD_SetStall()
661 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFGP; /* USBD_CFGP0 */ in USBD_SetStall()
684 USBD_T *pUSBD; in USBD_ClearStall() local
688 pUSBD = USBD_NS; in USBD_ClearStall()
692 pUSBD = USBD; in USBD_ClearStall()
697 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFG; /* USBD_CFG0 */ in USBD_ClearStall()
702 u32CfgAddr = (uint32_t)(i << 4) + (uint32_t)&pUSBD->EP[0].CFGP; /* USBD_CFGP0 */ in USBD_ClearStall()
[all …]