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.