STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
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
 
uint32_t HAL_CEC_GetError (const 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

◆ HAL_CEC_GetState()

HAL_CEC_StateTypeDef HAL_CEC_GetState ( const CEC_HandleTypeDef * hcec)

#include <stm32f4xx_hal_cec.h>

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.

References CEC_HandleTypeDef::gState, and CEC_HandleTypeDef::RxState.

◆ HAL_CEC_GetError()

uint32_t HAL_CEC_GetError ( const CEC_HandleTypeDef * hcec)

#include <stm32f4xx_hal_cec.h>

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.

References CEC_HandleTypeDef::ErrorCode.