HAL
USBx_INEP is only used within HAL.
 
Symbols
loading...
Files
loading...

USBx_INEP macro

Syntax

#define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\

Arguments

i

References

LocationText
stm32f4xx_ll_usb.h:459
#define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\
stm32f4xx_hal_pcd.c:1362
USBx_INEP(i)->DIEPINT = 0xFB7FU;
stm32f4xx_hal_pcd.c:1363
USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL;
stm32f4xx_hal_pcd.c:1455
RegVal = USBx_INEP(epnum)->DIEPCTL;
stm32f4xx_hal_pcd.c:2206
while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) &&
stm32f4xx_ll_usb.c:390
stm32f4xx_ll_usb.c:394
USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK;
stm32f4xx_ll_usb.c:398
stm32f4xx_ll_usb.c:403
USBx_INEP(i)->DIEPCTL = 0U;
stm32f4xx_ll_usb.c:406
USBx_INEP(i)->DIEPTSIZ = 0U;
stm32f4xx_ll_usb.c:407
USBx_INEP(i)->DIEPINT = 0xFB7FU;
stm32f4xx_ll_usb.c:607
if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U)
stm32f4xx_ll_usb.c:609
USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) |
stm32f4xx_ll_usb.c:644
if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U)
stm32f4xx_ll_usb.c:646
USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) |
stm32f4xx_ll_usb.c:683
stm32f4xx_ll_usb.c:685
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK;
stm32f4xx_ll_usb.c:686
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_EPDIS;
stm32f4xx_ll_usb.c:691
USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_USBAEP |
stm32f4xx_ll_usb.c:730
stm32f4xx_ll_usb.c:732
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK;
stm32f4xx_ll_usb.c:733
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_EPDIS;
stm32f4xx_ll_usb.c:736
USBx_INEP(epnum)->DIEPCTL &= ~ USB_OTG_DIEPCTL_USBAEP;
stm32f4xx_ll_usb.c:776
USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT);
stm32f4xx_ll_usb.c:777
USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19));
stm32f4xx_ll_usb.c:778
USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ);
stm32f4xx_ll_usb.c:787
USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ);
stm32f4xx_ll_usb.c:788
USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT);
stm32f4xx_ll_usb.c:797
USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19));
stm32f4xx_ll_usb.c:801
USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT &
stm32f4xx_ll_usb.c:805
USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len);
stm32f4xx_ll_usb.c:809
USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_MULCNT);
stm32f4xx_ll_usb.c:810
USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_MULCNT & (1U << 29));
stm32f4xx_ll_usb.c:818
USBx_INEP(epnum)->DIEPDMA = (uint32_t)(ep->dma_addr);
stm32f4xx_ll_usb.c:825
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SODDFRM;
stm32f4xx_ll_usb.c:829
stm32f4xx_ll_usb.c:834
stm32f4xx_ll_usb.c:839
stm32f4xx_ll_usb.c:853
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SODDFRM;
stm32f4xx_ll_usb.c:857
stm32f4xx_ll_usb.c:946
stm32f4xx_ll_usb.c:948
USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_SNAK);
stm32f4xx_ll_usb.c:949
USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_EPDIS);
stm32f4xx_ll_usb.c:960
} while (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA);
stm32f4xx_ll_usb.c:1080
if (((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == 0U) && (epnum != 0U))
stm32f4xx_ll_usb.c:1082
USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_EPDIS);
stm32f4xx_ll_usb.c:1084
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_STALL;
stm32f4xx_ll_usb.c:1111
USBx_INEP(epnum)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL;
stm32f4xx_ll_usb.c:1114
USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM; /* DATA0 */
stm32f4xx_ll_usb.c:1142
USBx_INEP(i)->DIEPINT = 0xFB7FU;
stm32f4xx_ll_usb.c:1317
tmpreg = USBx_INEP((uint32_t)epnum)->DIEPINT & msk;
stm32f4xx_ll_usb.c:1356
USBx_INEP(0U)->DIEPCTL &= ~USB_OTG_DIEPCTL_MPSIZ;
stm32f4xx_ll_usb.h:487
#define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INTERRUPT__))