|
STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
CEC control functions. More...
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. | |
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.
| HAL_CEC_StateTypeDef HAL_CEC_GetState | ( | const CEC_HandleTypeDef * | hcec | ) |
#include <stm32f4xx_hal_cec.h>
return the CEC state
| hcec | pointer to a CEC_HandleTypeDef structure that contains the configuration information for the specified CEC module. |
| HAL | state |
Definition at line 961 of file stm32f4xx_hal_cec.c.
References CEC_HandleTypeDef::gState, and CEC_HandleTypeDef::RxState.
| uint32_t HAL_CEC_GetError | ( | const CEC_HandleTypeDef * | hcec | ) |
#include <stm32f4xx_hal_cec.h>
Return the CEC error code.
| hcec | pointer to a CEC_HandleTypeDef structure that contains the configuration information for the specified CEC. |
| CEC | Error Code |
Definition at line 977 of file stm32f4xx_hal_cec.c.
References CEC_HandleTypeDef::ErrorCode.