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
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.
HAL_PCD_DeInit
HAL_StatusTypeDef HAL_PCD_DeInit (PCD_HandleTypeDef *
hpcd)
DeInitializes the PCD peripheral.
HAL_PCD_MspInit
void HAL_PCD_MspInit (PCD_HandleTypeDef * hpcd)
HAL_PCD_MspDeInit
void HAL_PCD_MspDeInit (PCD_HandleTypeDef * hpcd)
HAL_PCD_Start
HAL_StatusTypeDef HAL_PCD_Start (PCD_HandleTypeDef *
hpcd)
Start The USB OTG Device.