Searched refs:USBx_INEP (Results 1 – 3 of 3) sorted by relevance
239 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()243 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()247 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()252 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()255 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit()256 USBx_INEP(i)->DIEPINT = 0xFB7FU; in USB_DevInit()424 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()426 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()461 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()463 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()[all …]
1271 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler()1272 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()2189 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) > len32b) && in PCD_WriteEmptyTxFifo()
450 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE + USB_OTG_IN_ENDPOINT_BASE + ((i) … macro497 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…