STM32H735xx HAL User Manual
Functions
Peripheral Control function
CEC Exported Functions

CEC control functions. More...

Functions

HAL_CEC_StateTypeDef HAL_CEC_GetState (CEC_HandleTypeDef *hcec)
 return the CEC state
uint32_t HAL_CEC_GetError (CEC_HandleTypeDef *hcec)
 Return the CEC error code.

Detailed Description

CEC control functions.

 ===============================================================================
                      ##### Peripheral Control function #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to control the CEC.
     (+) HAL_CEC_GetState() API can be helpful to check in run-time the state of the CEC peripheral.
     (+) HAL_CEC_GetError() API can be helpful to check in run-time the error of the CEC peripheral.

Function Documentation

uint32_t HAL_CEC_GetError ( CEC_HandleTypeDef hcec)

Return the CEC error code.

Parameters:
hcecpointer to a CEC_HandleTypeDef structure that contains the configuration information for the specified CEC.
Return values:
CECError Code

Definition at line 975 of file stm32h7xx_hal_cec.c.

References __CEC_HandleTypeDef::ErrorCode.

return the CEC state

Parameters:
hcecpointer to a CEC_HandleTypeDef structure that contains the configuration information for the specified CEC module.
Return values:
HALstate

Definition at line 960 of file stm32h7xx_hal_cec.c.

References __CEC_HandleTypeDef::gState, and __CEC_HandleTypeDef::RxState.