EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #548 background imageLoading...
Page #548 background image
Universal synchronous asynchronous receiver
transmitter (USART)
UM1581
548/584
DocID023800 Rev 1
23.2.14.10 USART_MSBFirstCmd
Function Name
void USART_MSBFirstCmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Function Description
Enables or disables the USART's most significant bit first
transmitted/received following the start bit.
Parameters
ï‚· 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 most significant bit first
transmitted/received following the start bit. This parameter
can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· This function has to be called before calling USART_Cmd()
function.
23.2.14.11 USART_DataInvCmd
Function Name
void USART_DataInvCmd ( USART_TypeDef * USARTx,
FunctionalState NewState)
Function Description
Enables or disables the binary data inversion.
Parameters
ï‚· 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 defined levels for the USART data. This
parameter can be: ENABLE or DISABLE.
 ENABLE : Logical data from the data register are
send/received in negative logic. (1=L, 0=H). The parity
bit is also inverted.
 DISABLE : Logical data from the data register are
send/received in positive logic. (1=H, 0=L)
Return values
ï‚· None.
Notes
ï‚· This function has to be called before calling USART_Cmd()
function.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals