Macros
IRDAEx Private Macros
Collaboration diagram for IRDAEx Private Macros:

Macros

#define IRDA_GETCLOCKSOURCE(__HANDLE__, __CLOCKSOURCE__)
 Report the IRDA clock source. More...
 
#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. More...
 
#define IS_IRDA_WORD_LENGTH(__LENGTH__)
 Ensure that IRDA frame length is valid. More...
 

Detailed Description

Macro Definition Documentation

◆ IRDA_GETCLOCKSOURCE

#define IRDA_GETCLOCKSOURCE (   __HANDLE__,
  __CLOCKSOURCE__ 
)

Report the IRDA clock source.

Parameters
<strong>HANDLE</strong>specifies the IRDA Handle.
<strong>CLOCKSOURCE</strong>output variable.
Return values
IRDAclocking source, written in CLOCKSOURCE.

Definition at line 73 of file stm32f7xx_hal_irda_ex.h.

◆ IRDA_MASK_COMPUTATION

#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
<strong>HANDLE</strong>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 254 of file stm32f7xx_hal_irda_ex.h.

◆ IS_IRDA_WORD_LENGTH

#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
<strong>LENGTH</strong>IRDA frame length.
Return values
SET(LENGTH is valid) or RESET (LENGTH is invalid)

Definition at line 299 of file stm32f7xx_hal_irda_ex.h.

IRDA_WORDLENGTH_7B
#define IRDA_WORDLENGTH_7B
Definition: stm32f7xx_hal_irda_ex.h:49
IRDA_WORDLENGTH_9B
#define IRDA_WORDLENGTH_9B
Definition: stm32f7xx_hal_irda_ex.h:51
IRDA_WORDLENGTH_8B
#define IRDA_WORDLENGTH_8B
Definition: stm32f7xx_hal_irda_ex.h:50


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08