HAL
+ 0/1 examples
CodeScope will show references to
USB_EPTypeDef::maxpacket
from the following samples and libraries:
Libraries
STM32_USB_Device_Library
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
USB_EPTypeDef::maxpacket
USB_EPTypeDef::maxpacket field
Endpoint Max packet size This parameter must be a number between Min_Data = 0 and Max_Data = 64KB
Syntax
from
stm32f4xx_ll_usb.h:151
uint32_t
maxpacket
;
Examples
USB_EPTypeDef::maxpacket
is referenced by
1 libraries and example projects
.
References
Location
Referrer
Text
stm32f4xx_ll_usb.h:151
uint32_t
maxpacket
;
/*!< Endpoint Max packet size
stm32f4xx_hal_pcd.c:212
HAL_PCD_Init()
hpcd
->
IN_ep
[
i
]
.
maxpacket
=
0U
;
stm32f4xx_hal_pcd.c:223
HAL_PCD_Init()
hpcd
->
OUT_ep
[
i
]
.
maxpacket
=
0U
;
stm32f4xx_hal_pcd.c:1225
HAL_PCD_IRQHandler()
hpcd
->
IN_ep
[
epnum
]
.
xfer_buff
+=
hpcd
->
IN_ep
[
epnum
]
.
maxpacket
;
stm32f4xx_hal_pcd.c:1832
HAL_PCD_EP_Open()
ep
->
maxpacket
=
ep_mps
;
stm32f4xx_hal_pcd.c:2199
PCD_WriteEmptyTxFifo()
if
(
len
>
ep
->
maxpacket
)
stm32f4xx_hal_pcd.c:2201
PCD_WriteEmptyTxFifo()
len
=
ep
->
maxpacket
;
stm32f4xx_hal_pcd.c:2212
PCD_WriteEmptyTxFifo()
if
(
len
>
ep
->
maxpacket
)
stm32f4xx_hal_pcd.c:2214
PCD_WriteEmptyTxFifo()
len
=
ep
->
maxpacket
;
stm32f4xx_ll_usb.c:609
USB_ActivateEndpoint()
USBx_INEP
(
epnum
)
->
DIEPCTL
|=
(
ep
->
maxpacket
&
USB_OTG_DIEPCTL_MPSIZ
)
|
stm32f4xx_ll_usb.c:621
USB_ActivateEndpoint()
USBx_OUTEP
(
epnum
)
->
DOEPCTL
|=
(
ep
->
maxpacket
&
USB_OTG_DOEPCTL_MPSIZ
)
|
stm32f4xx_ll_usb.c:646
USB_ActivateDedicatedEndpoint()
USBx_INEP
(
epnum
)
->
DIEPCTL
|=
(
ep
->
maxpacket
&
USB_OTG_DIEPCTL_MPSIZ
)
|
stm32f4xx_ll_usb.c:658
USB_ActivateDedicatedEndpoint()
USBx_OUTEP
(
epnum
)
->
DOEPCTL
|=
(
ep
->
maxpacket
&
USB_OTG_DOEPCTL_MPSIZ
)
|
stm32f4xx_ll_usb.c:792
USB_EPStartXfer()
if
(
ep
->
xfer_len
>
ep
->
maxpacket
)
stm32f4xx_ll_usb.c:794
USB_EPStartXfer()
ep
->
xfer_len
=
ep
->
maxpacket
;
stm32f4xx_ll_usb.c:802
USB_EPStartXfer()
(
(
(
ep
->
xfer_len
+
ep
->
maxpacket
-
1U
)
/
ep
->
maxpacket
)
<
<
19
)
)
;
stm32f4xx_ll_usb.c:877
USB_EPStartXfer()
ep
->
xfer_len
=
ep
->
maxpacket
;
stm32f4xx_ll_usb.c:881
USB_EPStartXfer()
ep
->
xfer_size
=
ep
->
maxpacket
;
stm32f4xx_ll_usb.c:890
USB_EPStartXfer()
USBx_OUTEP
(
epnum
)
->
DOEPTSIZ
|=
(
USB_OTG_DOEPTSIZ_XFRSIZ
&
ep
->
maxpacket
)
;
stm32f4xx_ll_usb.c:895
USB_EPStartXfer()
pktcnt
=
(
uint16_t
)
(
(
ep
->
xfer_len
+
ep
->
maxpacket
-
1U
)
/
ep
->
maxpacket
)
;
stm32f4xx_ll_usb.c:896
USB_EPStartXfer()
ep
->
xfer_size
=
ep
->
maxpacket
*
pktcnt
;
Data Use
Functions writing
USB_EPTypeDef::maxpacket
Functions reading
USB_EPTypeDef::maxpacket
HAL_PCD_Init()
HAL_PCD_EP_Open()
all items filtered out
USB_EPTypeDef::maxpacket
USB_ActivateEndpoint()
USB_ActivateDedicatedEndpoint()
USB_EPStartXfer()
HAL_PCD_IRQHandler()
PCD_WriteEmptyTxFifo()
all items filtered out
Type of
USB_EPTypeDef::maxpacket
USB_EPTypeDef::maxpacket
uint32_t
all items filtered out