EasyManua.ls Logo

ST STM32F31xx

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
Loading...
Universal synchronous asynchronous receiver
transmitter (USART)
UM1581
534/584
DocID023800 Rev 1
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

Table of Contents

Related product manuals