EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 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
Loading...
Universal synchronous asynchronous receiver
transmitter (USART)
UM1581
564/584
DocID023800 Rev 1
USART_AddressLength_4b : 4-bit address length
detection
USART_AddressLength_7b : 7-bit address length
detection
Return values
None.
Notes
None.
23.2.22 LIN mode functions
23.2.22.1 USART_LINBreakDetectLengthConfig
Function Name
void USART_LINBreakDetectLengthConfig ( USART_TypeDef
* USARTx, uint32_t USART_LINBreakDetectLength)
Function Description
Sets the USART LIN Break detection length.
Parameters
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
USART_LINBreakDetectLength : specifies the LIN break
detection length. This parameter can be one of the following
values:
USART_LINBreakDetectLength_10b : 10-bit break
detection
USART_LINBreakDetectLength_11b : 11-bit break
detection
Return values
None.
Notes
None.
23.2.22.2 USART_LINCmd
Function Name
void USART_LINCmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Function Description
Enables or disables the USART's LIN mode.
Parameters
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.

Table of Contents

Related product manuals