Universal synchronous asynchronous receiver
transmitter (USART)
ï€ USART Request register, Address offset: 0x18
ï‚· uint16_t USART_TypeDef::RESERVED3
ï€ Reserved, 0x1A
ï‚· __IO uint32_t USART_TypeDef::ISR
ï€ USART Interrupt and status register, Address offset: 0x1C
ï‚· __IO uint32_t USART_TypeDef::ICR
ï€ USART Interrupt flag Clear register, Address offset: 0x20
ï‚· __IO uint16_t USART_TypeDef::RDR
ï€ USART Receive Data register, Address offset: 0x24
ï‚· uint16_t USART_TypeDef::RESERVED4
ï€ Reserved, 0x26
ï‚· __IO uint16_t USART_TypeDef::TDR
ï€ USART Transmit Data register, Address offset: 0x28
ï‚· uint16_t USART_TypeDef::RESERVED5
ï€ Reserved, 0x2A
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
ï€ 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
ï‚· uint32_t USART_InitTypeDef::USART_WordLength
ï€ Specifies the number of data bits transmitted or received in a frame. This
parameter can be a value of USART_Word_Length
ï‚· uint32_t USART_InitTypeDef::USART_StopBits
ï€ Specifies the number of stop bits transmitted. This parameter can be a value of
USART_Stop_Bits
ï‚· uint32_t USART_InitTypeDef::USART_Parity
ï€ Specifies the parity mode. This parameter can be a value of USART_Parity
ï‚· uint32_t USART_InitTypeDef::USART_Mode
ï€ Specifies wether the Receive or Transmit mode is enabled or disabled. This
parameter can be a value of USART_Mode
ï‚· uint32_t USART_InitTypeDef::USART_HardwareFlowControl