UM1940
32.2.5
Peripheral State functions
This subsection permits to get in run-time the status of the peripheral and the data flow.
This section contains the following APIs:
HAL_PCD_GetState()
32.2.6
Detailed description of functions
HAL_PCD_Init
Function name
Function description
Parameters
Return values
HAL_PCD_DeInit
Function name
Function description
Parameters
Return values
HAL_PCD_MspInit
Function name
Function description
Parameters
Return values
HAL_PCD_MspDeInit
Function name
Function description
Parameters
Return values
HAL_PCD_Start
Function name
Function description
Parameters
HAL_StatusTypeDef HAL_PCD_Init (PCD_HandleTypeDef *
hpcd)
Initializes the PCD according to the specified parameters in the
PCD_InitTypeDef and initialize the associated handle.
hpcd: PCD handle
HAL: status
HAL_StatusTypeDef HAL_PCD_DeInit (PCD_HandleTypeDef *
hpcd)
DeInitializes the PCD peripheral.
hpcd: PCD handle
HAL: status
void HAL_PCD_MspInit (PCD_HandleTypeDef * hpcd)
Initializes the PCD MSP.
hpcd: PCD handle
None:
void HAL_PCD_MspDeInit (PCD_HandleTypeDef * hpcd)
DeInitializes PCD MSP.
hpcd: PCD handle
None:
HAL_StatusTypeDef HAL_PCD_Start (PCD_HandleTypeDef *
hpcd)
Start The USB OTG Device.
hpcd: PCD handle
DocID028236 Rev 2
HAL PCD Generic Driver
395/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers