Universal synchronous asynchronous receiver
transmitter (USART)
uint16_t USART_TypeDef::RESERVED3
__IO uint32_t USART_TypeDef::ISR
__IO uint32_t USART_TypeDef::ICR
__IO uint16_t USART_TypeDef::RDR
uint16_t USART_TypeDef::RESERVED4
__IO uint16_t USART_TypeDef::TDR
uint16_t USART_TypeDef::RESERVED5
23.1.2
USART_InitTypeDef
USART_InitTypeDef is defined in the stm32f30x_usart.h
Data Fields
uint32_t USART_BaudRate
uint32_t USART_WordLength
uint32_t USART_StopBits
uint32_t USART_Parity
uint32_t USART_Mode
uint32_t USART_HardwareFlowControl
Field Documentation
uint32_t USART_InitTypeDef::USART_BaudRate
uint32_t USART_InitTypeDef::USART_WordLength
uint32_t USART_InitTypeDef::USART_StopBits
uint32_t USART_InitTypeDef::USART_Parity
uint32_t USART_InitTypeDef::USART_Mode
uint32_t USART_InitTypeDef::USART_HardwareFlowControl
534/584
USART Request register, Address offset: 0x18
Reserved, 0x1A
USART Interrupt and status register, Address offset: 0x1C
USART Interrupt flag Clear register, Address offset: 0x20
USART Receive Data register, Address offset: 0x24
Reserved, 0x26
USART Transmit Data register, Address offset: 0x28
Reserved, 0x2A
This member configures the USART communication baud rate. The baud rate is
computed using the following formula: IntegerDivider = ((PCLKx) / (16 *
(USART_InitStruct->USART_BaudRate)))FractionalDivider = ((IntegerDivider -
((uint32_t) IntegerDivider)) * 16) + 0.5
Specifies the number of data bits transmitted or received in a frame. This
parameter can be a value of
Specifies the number of stop bits transmitted. This parameter can be a value of
USART_Stop_Bits
Specifies the parity mode. This parameter can be a value of
Specifies wether the Receive or Transmit mode is enabled or disabled. This
parameter can be a value of
DocID023800 Rev 1
USART_Word_Length
USART_Mode
UM1581
USART_Parity
Need help?
Do you have a question about the STM32F31xx and is the answer not in the manual?