LL_USART_SetParity
__STATIC_INLINE void LL_USART_SetParity
(USART_TypeDef * USARTx, uint32_t Parity)
Configure Parity (enabled/disabled and parity mode if enabled).
USARTx: USART Instance
Parity: This parameter can be one of the following values:
LL_USART_PARITY_NONE
LL_USART_PARITY_EVEN
LL_USART_PARITY_ODD
This function selects if hardware parity control (generation
and detection) is enabled or disabled. When the parity control
is enabled (Odd or Even), computed parity bit is inserted at
the MSB position (9th or 8th bit depending on data width) and
parity is checked on the received data.
Reference Manual to
LL API cross
reference:
CR1 PS LL_USART_SetParity
CR1 PCE LL_USART_SetParity
LL_USART_GetParity
__STATIC_INLINE uint32_t LL_USART_GetParity
(USART_TypeDef * USARTx)
Return Parity configuration (enabled/disabled and parity mode if
enabled)
Returned: value can be one of the following values:
LL_USART_PARITY_NONE
LL_USART_PARITY_EVEN
LL_USART_PARITY_ODD
Reference Manual to
LL API cross
reference:
CR1 PS LL_USART_GetParity
CR1 PCE LL_USART_GetParity
LL_USART_SetWakeUpMethod
__STATIC_INLINE void LL_USART_SetWakeUpMethod
(USART_TypeDef * USARTx, uint32_t Method)
Set Receiver Wake Up method from Mute mode.
USARTx: USART Instance
Method: This parameter can be one of the following values:
LL_USART_WAKEUP_IDLELINE
LL_USART_WAKEUP_ADDRESSMARK