EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1940
HAL PCD Generic Driver
DocID028236 Rev 2
395/1371
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
HAL_StatusTypeDef HAL_PCD_Init (PCD_HandleTypeDef *
hpcd)
Function description
Initializes the PCD according to the specified parameters in the
PCD_InitTypeDef and initialize the associated handle.
Parameters
hpcd: PCD handle
Return values
HAL: status
HAL_PCD_DeInit
Function name
HAL_StatusTypeDef HAL_PCD_DeInit (PCD_HandleTypeDef *
hpcd)
Function description
DeInitializes the PCD peripheral.
Parameters
hpcd: PCD handle
Return values
HAL: status
HAL_PCD_MspInit
Function name
void HAL_PCD_MspInit (PCD_HandleTypeDef * hpcd)
Function description
Initializes the PCD MSP.
Parameters
hpcd: PCD handle
Return values
None:
HAL_PCD_MspDeInit
Function name
void HAL_PCD_MspDeInit (PCD_HandleTypeDef * hpcd)
Function description
DeInitializes PCD MSP.
Parameters
hpcd: PCD handle
Return values
None:
HAL_PCD_Start
Function name
HAL_StatusTypeDef HAL_PCD_Start (PCD_HandleTypeDef *
hpcd)
Function description
Start The USB OTG Device.
Parameters
hpcd: PCD handle

Table of Contents

Related product manuals