Universal synchronous asynchronous receiver
transmitter (USART)
ï‚· NewState : new state of the USART LIN mode. This
parameter can be: ENABLE or DISABLE.
23.2.23 Halfduplex mode function
23.2.23.1 USART_HalfDuplexCmd
void USART_HalfDuplexCmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Enables or disables the USART's Half Duplex communication.
ï‚· USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
ï‚· NewState : new state of the USART Communication. This
parameter can be: ENABLE or DISABLE.
23.2.24 Smartcard mode functions
23.2.24.1 USART_SetGuardTime
void USART_SetGuardTime ( USART_TypeDef * USARTx,
uint8_t USART_GuardTime)
Sets the specified USART guard time.
ï‚· USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3.
ï‚· USART_GuardTime : specifies the guard time.