Universal synchronous asynchronous receiver
transmitter (USART)
Configures the USART's DE polarity.
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
USART_DEPolarity : specifies the DE polarity. This
parameter can be one of the following values:
USART_DEPolarity_Low :
USART_DEPolarity_High :
23.2.15.3 USART_SetDEAssertionTime
void USART_SetDEAssertionTime ( USART_TypeDef *
USARTx, uint32_t USART_DEAssertionTime)
Sets the specified RS485 DE assertion time.
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
USART_AssertionTime : specifies the time between the
activation of the DE signal and the beginning of the start bit
23.2.15.4 USART_SetDEDeassertionTime
void USART_SetDEDeassertionTime ( USART_TypeDef *
USARTx, uint32_t USART_DEDeassertionTime)
Sets the specified RS485 DE deassertion time.
USARTx : Select the USART peripheral. This parameter can
be one of the following values: USART1 or USART2 or
USART3 or UART4 or UART5.
USART_DeassertionTime : specifies the time between the
middle of the last stop bit in a transmitted message and the