STM32F4xx_HAL_Driver  1.8.3
Peripheral State functions

Peripheral State functions. More...

+ Collaboration diagram for Peripheral State functions:

Functions

PCD_StateTypeDef HAL_PCD_GetState (PCD_HandleTypeDef const *hpcd)
 Return the PCD handle state. More...
 
HAL_StatusTypeDef HAL_PCD_SetTestMode (const PCD_HandleTypeDef *hpcd, uint8_t testmode)
 Set the USB Device high speed test mode. 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 const *  hpcd)

Return the PCD handle state.

Parameters
hpcdPCD handle
Return values
HALstate

Definition at line 2128 of file stm32f4xx_hal_pcd.c.

◆ HAL_PCD_SetTestMode()

HAL_StatusTypeDef HAL_PCD_SetTestMode ( const PCD_HandleTypeDef hpcd,
uint8_t  testmode 
)

Set the USB Device high speed test mode.

Parameters
hpcdPCD handle
testmodeUSB Device high speed test mode
Return values
HALstatus

Definition at line 2140 of file stm32f4xx_hal_pcd.c.