STM32L443xx HAL User Manual
|
Defines | |
#define | USART_GETCLOCKSOURCE(__HANDLE__, __CLOCKSOURCE__) |
Report the USART clock source. | |
#define | USART_MASK_COMPUTATION(__HANDLE__) |
Compute the USART mask to apply to retrieve the received data according to the word length and to the parity bits activation. | |
#define | IS_USART_WORD_LENGTH(__LENGTH__) |
Ensure that USART frame length is valid. |
#define IS_USART_WORD_LENGTH | ( | __LENGTH__ | ) |
(((__LENGTH__) == USART_WORDLENGTH_7B) || \ ((__LENGTH__) == USART_WORDLENGTH_8B) || \ ((__LENGTH__) == USART_WORDLENGTH_9B))
Ensure that USART frame length is valid.
__LENGTH__ | USART frame length. |
SET | (__LENGTH__ is valid) or RESET (__LENGTH__ is invalid) |
Definition at line 308 of file stm32l4xx_hal_usart_ex.h.
Referenced by USART_SetConfig().
#define USART_GETCLOCKSOURCE | ( | __HANDLE__, | |
__CLOCKSOURCE__ | |||
) |
Report the USART clock source.
__HANDLE__ | specifies the USART Handle. |
__CLOCKSOURCE__ | output variable. |
the | USART clocking source, written in __CLOCKSOURCE__. |
Definition at line 181 of file stm32l4xx_hal_usart_ex.h.
Referenced by USART_SetConfig().
#define USART_MASK_COMPUTATION | ( | __HANDLE__ | ) |
Compute the USART mask to apply to retrieve the received data according to the word length and to the parity bits activation.
__HANDLE__ | specifies the USART Handle. |
None,the | mask to apply to USART RDR register is stored in (__HANDLE__)->Mask field. |
Definition at line 262 of file stm32l4xx_hal_usart_ex.h.
Referenced by HAL_USART_Receive(), HAL_USART_Receive_IT(), HAL_USART_TransmitReceive(), and HAL_USART_TransmitReceive_IT().