STM32L4xx_HAL_Driver  1.14.0
Peripheral State functions

Peripheral State functions. More...

Functions

PCD_StateTypeDef HAL_PCD_GetState (PCD_HandleTypeDef *hpcd)
 Return the PCD handle state. More...
 

Detailed Description

Peripheral State functions.

 ===============================================================================
                      ##### Peripheral State functions #####
 ===============================================================================
    [..]
    This subsection permits to get in run-time the status of the peripheral
    and the data flow.

Function Documentation

◆ HAL_PCD_GetState()

PCD_StateTypeDef HAL_PCD_GetState ( PCD_HandleTypeDef hpcd)

Return the PCD handle state.

Parameters
hpcdPCD handle
Return values
HALstate

Definition at line 2081 of file stm32l4xx_hal_pcd.c.

2082 {
2083  return hpcd->State;
2084 }