HAL
+ 0/62 examples
CodeScope will show references to
PCD_HandleTypeDef::Init
from the following samples and libraries:
Libraries
usbx
Examples
STM32F4-Discovery
Demonstrations
STM32F401-Discovery
Demonstrations
STM32F411E-Discovery
Demonstrations
STM32446E_EVAL
Demonstrations
STemWin
Applications
USB_Device
AUDIO_Standalone
CDC_Standalone
CustomHID_Standalone
DFU_Standalone
DualCore_Standalone
HID_LPM_Standalone
HID_Standalone
MSC_Standalone
STM324xG_EVAL
Demonstrations
STemWin
Applications
USB_Device
AUDIO_Standalone
CDC_Standalone
CustomHID_Standalone
DFU_Standalone
DualCore_Standalone
HID_Standalone
MSC_Standalone
STM32F412G-Discovery
Demonstrations
STemWin
Applications
USB_Device
HID_Standalone
MSC_Standalone
STM32F413H-Discovery
Demonstrations
STemWin
Applications
USB_Device
DFU_Standalone
HID_BCD_Standalone
HID_Standalone
MSC_Standalone
STM32469I-Discovery
Applications
USBX
Ux_Device_CDC_ACM
Ux_Device_CDC_ECM
Ux_Device_HID_CDC_ACM
Ux_Device_MSC
USB_Device
AUDIO_Standalone
DFU_Standalone
HID_LPM_Standalone
HID_Standalone
MSC_Standalone
STM32469I_EVAL
Applications
USB_Device
CDC_Standalone
DFU_Standalone
DualCore_Standalone
HID_LPM_Standalone
HID_Standalone
MSC_Standalone
STM324x9I_EVAL
Applications
USB_Device
AUDIO_Standalone
CDC_Standalone
CustomHID_Standalone
DFU_Standalone
DualCore_Standalone
HID_Standalone
MSC_Standalone
Demonstrations
STemWin
MB1046
MB1063
STM32F412ZG-Nucleo
Applications
USB_Device
HID_Standalone
STM32F413ZH-Nucleo
Applications
USB_Device
DFU_Standalone
HID_Standalone
STM32F429ZI-Nucleo
Applications
USBX
Ux_Device_DFU
Ux_Device_HID
USB_Device
DFU_Standalone
HID_Standalone
STM32F446ZE-Nucleo
Applications
USB_Device
DFU_Standalone
HID_Standalone
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
PCD_HandleTypeDef::Init
PCD_HandleTypeDef::Init field
PCD required parameters
Syntax
from
stm32f4xx_hal_pcd.h:99
PCD_InitTypeDef
Init
;
Examples
PCD_HandleTypeDef::Init
is referenced by
62 libraries and example projects
.
References
Location
Referrer
Text
stm32f4xx_hal_pcd.h:99
PCD_InitTypeDef
Init
;
/*!< PCD required parameters */
stm32f4xx_hal_pcd.c:182
HAL_PCD_Init()
hpcd
->
Init
.
dma_enable
=
0U
;
stm32f4xx_hal_pcd.c:190
HAL_PCD_Init()
if
(
USB_CoreInit
(
hpcd
->
Instance
,
hpcd
->
Init
)
!=
HAL_OK
)
stm32f4xx_hal_pcd.c:204
HAL_PCD_Init()
for
(
i
=
0U
;
i
<
hpcd
->
Init
.
dev_endpoints
;
i
++
)
stm32f4xx_hal_pcd.c:217
HAL_PCD_Init()
for
(
i
=
0U
;
i
<
hpcd
->
Init
.
dev_endpoints
;
i
++
)
stm32f4xx_hal_pcd.c:229
HAL_PCD_Init()
if
(
USB_DevInit
(
hpcd
->
Instance
,
hpcd
->
Init
)
!=
HAL_OK
)
stm32f4xx_hal_pcd.c:241
HAL_PCD_Init()
if
(
hpcd
->
Init
.
lpm_enable
==
1U
)
stm32f4xx_hal_pcd.c:1022
HAL_PCD_Start()
(
hpcd
->
Init
.
battery_charging_enable
==
1U
)
)
stm32f4xx_hal_pcd.c:1051
HAL_PCD_Stop()
(
hpcd
->
Init
.
battery_charging_enable
==
1U
)
)
stm32f4xx_hal_pcd.c:1223
HAL_PCD_IRQHandler()
if
(
hpcd
->
Init
.
dma_enable
==
1U
)
stm32f4xx_hal_pcd.c:1360
HAL_PCD_IRQHandler()
for
(
i
=
0U
;
i
<
hpcd
->
Init
.
dev_endpoints
;
i
++
)
stm32f4xx_hal_pcd.c:1370
HAL_PCD_IRQHandler()
if
(
hpcd
->
Init
.
use_dedicated_ep1
!=
0U
)
stm32f4xx_hal_pcd.c:1397
HAL_PCD_IRQHandler()
(
void
)
USB_EP0_OutStart
(
hpcd
->
Instance
,
(
uint8_t
)
hpcd
->
Init
.
dma_enable
,
stm32f4xx_hal_pcd.c:1407
HAL_PCD_IRQHandler()
hpcd
->
Init
.
speed
=
USB_GetDevSpeed
(
hpcd
->
Instance
)
;
stm32f4xx_hal_pcd.c:1412
HAL_PCD_IRQHandler()
(
uint8_t
)
hpcd
->
Init
.
speed
)
;
stm32f4xx_hal_pcd.c:1440
HAL_PCD_IRQHandler()
for
(
epnum
=
1U
;
epnum
<
hpcd
->
Init
.
dev_endpoints
;
epnum
++
)
stm32f4xx_hal_pcd.c:1453
HAL_PCD_IRQHandler()
for
(
epnum
=
1U
;
epnum
<
hpcd
->
Init
.
dev_endpoints
;
epnum
++
)
stm32f4xx_hal_pcd.c:1473
HAL_PCD_IRQHandler()
for
(
epnum
=
1U
;
epnum
<
hpcd
->
Init
.
dev_endpoints
;
epnum
++
)
stm32f4xx_hal_pcd.c:1756
HAL_PCD_DevConnect()
(
hpcd
->
Init
.
battery_charging_enable
==
1U
)
)
stm32f4xx_hal_pcd.c:1780
HAL_PCD_DevDisconnect()
(
hpcd
->
Init
.
battery_charging_enable
==
1U
)
)
stm32f4xx_hal_pcd.c:1904
HAL_PCD_EP_Receive()
if
(
hpcd
->
Init
.
dma_enable
==
1U
)
stm32f4xx_hal_pcd.c:1909
HAL_PCD_EP_Receive()
(
void
)
USB_EPStartXfer
(
hpcd
->
Instance
,
ep
,
(
uint8_t
)
hpcd
->
Init
.
dma_enable
)
;
stm32f4xx_hal_pcd.c:1945
HAL_PCD_EP_Transmit()
if
(
hpcd
->
Init
.
dma_enable
==
1U
)
stm32f4xx_hal_pcd.c:1950
HAL_PCD_EP_Transmit()
(
void
)
USB_EPStartXfer
(
hpcd
->
Instance
,
ep
,
(
uint8_t
)
hpcd
->
Init
.
dma_enable
)
;
stm32f4xx_hal_pcd.c:1965
HAL_PCD_EP_SetStall()
if
(
(
(
uint32_t
)
ep_addr
&
EP_ADDR_MSK
)
>
hpcd
->
Init
.
dev_endpoints
)
stm32f4xx_hal_pcd.c:1990
HAL_PCD_EP_SetStall()
(
void
)
USB_EP0_OutStart
(
hpcd
->
Instance
,
(
uint8_t
)
hpcd
->
Init
.
dma_enable
,
(
uint8_t
*
)
hpcd
->
Setup
)
;
stm32f4xx_hal_pcd.c:2008
HAL_PCD_EP_ClrStall()
if
(
(
(
uint32_t
)
ep_addr
&
0x0FU
)
>
hpcd
->
Init
.
dev_endpoints
)
stm32f4xx_hal_pcd.c:2219
PCD_WriteEmptyTxFifo()
(
uint8_t
)
hpcd
->
Init
.
dma_enable
)
;
stm32f4xx_hal_pcd.c:2249
PCD_EP_OutXfrComplete_int()
if
(
hpcd
->
Init
.
dma_enable
==
1U
)
stm32f4xx_hal_pcd.c:2373
PCD_EP_OutSetupPacket_int()
if
(
(
gSNPSiD
>
USB_OTG_CORE_ID_300A
)
&&
(
hpcd
->
Init
.
dma_enable
==
1U
)
)
Data Use
Functions reading
PCD_HandleTypeDef::Init
PCD_HandleTypeDef::Init
HAL_PCD_Init()
HAL_PCD_Start()
HAL_PCD_Stop()
HAL_PCD_IRQHandler()
HAL_PCD_DevConnect()
HAL_PCD_DevDisconnect()
HAL_PCD_EP_Receive()
HAL_PCD_EP_Transmit()
HAL_PCD_EP_SetStall()
HAL_PCD_EP_ClrStall()
PCD_WriteEmptyTxFifo()
PCD_EP_OutXfrComplete_int()
PCD_EP_OutSetupPacket_int()
all items filtered out
Type of
PCD_HandleTypeDef::Init
PCD_HandleTypeDef::Init
USB_CfgTypeDef
all items filtered out