STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Macros | |
#define | __HAL_CEC_RESET_HANDLE_STATE(__HANDLE__) |
Reset CEC handle gstate & RxState. | |
#define | __HAL_CEC_GET_FLAG(__HANDLE__, __FLAG__) |
Checks whether or not the specified CEC interrupt flag is set. | |
#define | __HAL_CEC_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clears the interrupt or status flag when raised (write at 1) | |
#define | __HAL_CEC_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enables the specified CEC interrupt. | |
#define | __HAL_CEC_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disables the specified CEC interrupt. | |
#define | __HAL_CEC_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Checks whether or not the specified CEC interrupt is enabled. | |
#define | __HAL_CEC_ENABLE(__HANDLE__) |
Enables the CEC device. | |
#define | __HAL_CEC_DISABLE(__HANDLE__) |
Disables the CEC device. | |
#define | __HAL_CEC_FIRST_BYTE_TX_SET(__HANDLE__) |
Set Transmission Start flag. | |
#define | __HAL_CEC_LAST_BYTE_TX_SET(__HANDLE__) |
Set Transmission End flag. | |
#define | __HAL_CEC_GET_TRANSMISSION_START_FLAG(__HANDLE__) |
Get Transmission Start flag. | |
#define | __HAL_CEC_GET_TRANSMISSION_END_FLAG(__HANDLE__) |
Get Transmission End flag. | |
#define | __HAL_CEC_CLEAR_OAR(__HANDLE__) |
Clear OAR register. | |
#define | __HAL_CEC_SET_OAR(__HANDLE__, __ADDRESS__) |
Set OAR register (without resetting previously set address in case of multi-address mode) To reset OAR, __HAL_CEC_CLEAR_OAR() needs to be called beforehand. | |
#define __HAL_CEC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Reset CEC handle gstate & RxState.
__HANDLE__ | CEC handle. |
None |
Definition at line 478 of file stm32f4xx_hal_cec.h.
#define __HAL_CEC_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_cec.h>
Checks whether or not the specified CEC interrupt flag is set.
__HANDLE__ | specifies the CEC Handle. |
__FLAG__ | specifies the flag to check.
|
ITStatus |
Definition at line 501 of file stm32f4xx_hal_cec.h.
#define __HAL_CEC_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_cec.h>
Clears the interrupt or status flag when raised (write at 1)
__HANDLE__ | specifies the CEC Handle. |
__FLAG__ | specifies the interrupt/status flag to clear. This parameter can be one of the following values:
|
none |
Definition at line 522 of file stm32f4xx_hal_cec.h.
Referenced by HAL_CEC_DeInit(), and HAL_CEC_IRQHandler().
#define __HAL_CEC_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_cec.h>
Enables the specified CEC interrupt.
__HANDLE__ | specifies the CEC Handle. |
__INTERRUPT__ | specifies the CEC interrupt to enable. This parameter can be one of the following values:
|
none |
Definition at line 543 of file stm32f4xx_hal_cec.h.
Referenced by HAL_CEC_Init().
#define __HAL_CEC_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_cec.h>
Disables the specified CEC interrupt.
__HANDLE__ | specifies the CEC Handle. |
__INTERRUPT__ | specifies the CEC interrupt to disable. This parameter can be one of the following values:
|
none |
Definition at line 564 of file stm32f4xx_hal_cec.h.
Referenced by HAL_CEC_DeInit().
#define __HAL_CEC_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_cec.h>
Checks whether or not the specified CEC interrupt is enabled.
__HANDLE__ | specifies the CEC Handle. |
__INTERRUPT__ | specifies the CEC interrupt to check. This parameter can be one of the following values:
|
FlagStatus |
Definition at line 585 of file stm32f4xx_hal_cec.h.
#define __HAL_CEC_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Enables the CEC device.
__HANDLE__ | specifies the CEC Handle. |
none |
Definition at line 591 of file stm32f4xx_hal_cec.h.
Referenced by HAL_CEC_Init(), and HAL_CEC_SetDeviceAddress().
#define __HAL_CEC_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Disables the CEC device.
__HANDLE__ | specifies the CEC Handle. |
none |
Definition at line 597 of file stm32f4xx_hal_cec.h.
Referenced by HAL_CEC_DeInit(), HAL_CEC_Init(), and HAL_CEC_SetDeviceAddress().
#define __HAL_CEC_FIRST_BYTE_TX_SET | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Set Transmission Start flag.
__HANDLE__ | specifies the CEC Handle. |
none |
Definition at line 603 of file stm32f4xx_hal_cec.h.
Referenced by HAL_CEC_Transmit_IT().
#define __HAL_CEC_LAST_BYTE_TX_SET | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Set Transmission End flag.
__HANDLE__ | specifies the CEC Handle. |
none | If the CEC message consists of only one byte, TXEOM must be set before of TXSOM. |
Definition at line 610 of file stm32f4xx_hal_cec.h.
Referenced by HAL_CEC_IRQHandler(), and HAL_CEC_Transmit_IT().
#define __HAL_CEC_GET_TRANSMISSION_START_FLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Get Transmission Start flag.
__HANDLE__ | specifies the CEC Handle. |
FlagStatus |
Definition at line 616 of file stm32f4xx_hal_cec.h.
#define __HAL_CEC_GET_TRANSMISSION_END_FLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Get Transmission End flag.
__HANDLE__ | specifies the CEC Handle. |
FlagStatus |
Definition at line 622 of file stm32f4xx_hal_cec.h.
#define __HAL_CEC_CLEAR_OAR | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_cec.h>
Clear OAR register.
__HANDLE__ | specifies the CEC Handle. |
none |
Definition at line 628 of file stm32f4xx_hal_cec.h.
#define __HAL_CEC_SET_OAR | ( | __HANDLE__, | |
__ADDRESS__ ) |
#include <stm32f4xx_hal_cec.h>
Set OAR register (without resetting previously set address in case of multi-address mode) To reset OAR, __HAL_CEC_CLEAR_OAR() needs to be called beforehand.
__HANDLE__ | specifies the CEC Handle. |
__ADDRESS__ | Own Address value (CEC logical address is identified by bit position) |
none |
Definition at line 636 of file stm32f4xx_hal_cec.h.