Universal synchronous asynchronous receiver
transmitter (USART)
ï€ USART_AddressLength_4b : 4-bit address length
detection
ï€ USART_AddressLength_7b : 7-bit address length
detection
23.2.22 LIN mode functions
23.2.22.1 USART_LINBreakDetectLengthConfig
void USART_LINBreakDetectLengthConfig ( USART_TypeDef
* USARTx, uint32_t USART_LINBreakDetectLength)
Sets the USART LIN Break detection length.
ï‚· 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
23.2.22.2 USART_LINCmd
void USART_LINCmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Enables or disables the USART's LIN mode.
ï‚· USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.