STM32H735xx HAL User Manual
Functions
Peripheral State functions
PCD Exported Functions

Peripheral State functions. More...

Functions

PCD_StateTypeDef HAL_PCD_GetState (PCD_HandleTypeDef *hpcd)
 Return the PCD handle state.
HAL_StatusTypeDef HAL_PCD_SetTestMode (PCD_HandleTypeDef *hpcd, uint8_t testmode)
 Set the USB Device high speed test mode.

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

Return the PCD handle state.

Parameters:
hpcdPCD handle
Return values:
HALstate

Definition at line 2028 of file stm32h7xx_hal_pcd.c.

References __PCD_HandleTypeDef::State.

HAL_StatusTypeDef HAL_PCD_SetTestMode ( PCD_HandleTypeDef hpcd,
uint8_t  testmode 
)

Set the USB Device high speed test mode.

Parameters:
hpcdPCD handle
addresstest mode
Return values:
HALstatus

Definition at line 2039 of file stm32h7xx_hal_pcd.c.

References __PCD_HandleTypeDef::Instance.