Home
last modified time | relevance | path

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

/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_usb.c239 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 …]
Dstm32l4xx_hal_pcd.c1271 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()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_usb.h450 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE + USB_OTG_IN_ENDPOINT_BASE + ((i) … macro
497 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…