EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1246 background imageLoading...
Page #1246 background image
LL USART Generic Driver
UM1940
1246/1371
DocID028236 Rev 2
reference:
LL_USART_SetParity
Function name
__STATIC_INLINE void LL_USART_SetParity
(USART_TypeDef * USARTx, uint32_t Parity)
Function description
Configure Parity (enabled/disabled and parity mode if enabled).
Parameters
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
Return values
None:
Notes
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
Function name
__STATIC_INLINE uint32_t LL_USART_GetParity
(USART_TypeDef * USARTx)
Function description
Return Parity configuration (enabled/disabled and parity mode if
enabled)
Parameters
USARTx: USART Instance
Return values
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
Function name
__STATIC_INLINE void LL_USART_SetWakeUpMethod
(USART_TypeDef * USARTx, uint32_t Method)
Function description
Set Receiver Wake Up method from Mute mode.
Parameters
USARTx: USART Instance
Method: This parameter can be one of the following values:
LL_USART_WAKEUP_IDLELINE
LL_USART_WAKEUP_ADDRESSMARK
Return values
None:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals