Universal synchronous asynchronous receiver
transmitter (USART)
ï‚· NewState : new state of the USART transfer direction. This
parameter can be: ENABLE or DISABLE.
23.2.14.8 USART_OverSampling8Cmd
void USART_OverSampling8Cmd ( USART_TypeDef *
USARTx, FunctionalState NewState)
Enables or disables the USART's 8x oversampling mode.
ï‚· 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 8x oversampling mode.
This parameter can be: ENABLE or DISABLE.
ï‚· This function has to be called before calling USART_Init()
function in order to have correct baudrate Divider value.
23.2.14.9 USART_OneBitMethodCmd
void USART_OneBitMethodCmd ( USART_TypeDef *
USARTx, FunctionalState NewState)
Enables or disables the USART's one bit sampling method.
ï‚· 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 one bit sampling
method. This parameter can be: ENABLE or DISABLE.
ï‚· This function has to be called before calling USART_Cmd()
function.