STM32H735xx HAL User Manual
Defines
IRDAEx Private Macros
IRDAEx

Defines

#define IRDA_GETCLOCKSOURCE(__HANDLE__, __CLOCKSOURCE__)
 Report the IRDA clock source.
#define IRDA_MASK_COMPUTATION(__HANDLE__)
 Compute the mask to apply to retrieve the received data according to the word length and to the parity bits activation.
#define IS_IRDA_WORD_LENGTH(__LENGTH__)
 Ensure that IRDA frame length is valid.

Define Documentation

#define IRDA_GETCLOCKSOURCE (   __HANDLE__,
  __CLOCKSOURCE__ 
)

Report the IRDA clock source.

Parameters:
__HANDLE__specifies the IRDA Handle.
__CLOCKSOURCE__output variable.
Return values:
IRDAclocking source, written in __CLOCKSOURCE__.

Definition at line 73 of file stm32h7xx_hal_irda_ex.h.

Referenced by IRDA_SetConfig().

#define IRDA_MASK_COMPUTATION (   __HANDLE__)

Compute the mask to apply to retrieve the received data according to the word length and to the parity bits activation.

Parameters:
__HANDLE__specifies the IRDA Handle.
Return values:
None,themask to apply to the associated UART RDR register is stored in (__HANDLE__)->Mask field.

Definition at line 581 of file stm32h7xx_hal_irda_ex.h.

Referenced by HAL_IRDA_Receive(), and HAL_IRDA_Receive_IT().

#define IS_IRDA_WORD_LENGTH (   __LENGTH__)
Value:
(((__LENGTH__) == IRDA_WORDLENGTH_7B) || \
                                         ((__LENGTH__) == IRDA_WORDLENGTH_8B) || \
                                         ((__LENGTH__) == IRDA_WORDLENGTH_9B))

Ensure that IRDA frame length is valid.

Parameters:
__LENGTH__IRDA frame length.
Return values:
SET(__LENGTH__ is valid) or RESET (__LENGTH__ is invalid)

Definition at line 626 of file stm32h7xx_hal_irda_ex.h.

Referenced by IRDA_SetConfig().