STM32F4xx_HAL_Driver  1.8.3
Peripheral Control function

CEC control functions. More...

+ Collaboration diagram for Peripheral Control function:

Functions

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

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

◆ HAL_CEC_GetError()

uint32_t HAL_CEC_GetError ( const 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 977 of file stm32f4xx_hal_cec.c.

◆ HAL_CEC_GetState()

HAL_CEC_StateTypeDef HAL_CEC_GetState ( const CEC_HandleTypeDef hcec)

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 961 of file stm32f4xx_hal_cec.c.