Public Attributes | List of all members

USART Init Structure definition. More...

#include <stm32f4xx_usart.h>

Public Attributes

uint32_t USART_BaudRate
 
uint16_t USART_HardwareFlowControl
 
uint32_t USART_HardwareFlowControl
 
uint16_t USART_Mode
 
uint32_t USART_Mode
 
uint16_t USART_Parity
 
uint32_t USART_Parity
 
uint16_t USART_StopBits
 
uint32_t USART_StopBits
 
uint16_t USART_WordLength
 
uint32_t USART_WordLength
 

Detailed Description

USART Init Structure definition.

Definition at line 54 of file stm32f4xx_usart.h.

Member Data 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) / (8 * (OVR8+1) * (USART_InitStruct->USART_BaudRate)))
  • FractionalDivider = ((IntegerDivider - ((u32) IntegerDivider)) * 8 * (OVR8+1)) + 0.5 Where OVR8 is the "oversampling by 8 mode" configuration bit in the CR1 register.

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 - ((u32) IntegerDivider)) * 16) + 0.5

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

Definition at line 56 of file stm32f4xx_usart.h.

uint16_t USART_InitTypeDef::USART_HardwareFlowControl

Specifies wether the hardware flow control mode is enabled or disabled. This parameter can be a value of USART_Hardware_Flow_Control

Definition at line 78 of file stm32f4xx_usart.h.

uint32_t USART_InitTypeDef::USART_HardwareFlowControl

Specifies wether the hardware flow control mode is enabled or disabled. This parameter can be a value of USART_Hardware_Flow_Control

Definition at line 79 of file stm32f30x_usart.h.

uint16_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

Definition at line 75 of file stm32f4xx_usart.h.

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

Definition at line 76 of file stm32f30x_usart.h.

uint16_t USART_InitTypeDef::USART_Parity

Specifies the parity mode. This parameter can be a value of USART_Parity

Note
When parity is enabled, the computed parity is inserted at the MSB position of the transmitted data (9th bit when the word length is set to 9 data bits; 8th bit when the word length is set to 8 data bits).

Definition at line 68 of file stm32f4xx_usart.h.

uint32_t USART_InitTypeDef::USART_Parity

Specifies the parity mode. This parameter can be a value of USART_Parity

Note
When parity is enabled, the computed parity is inserted at the MSB position of the transmitted data (9th bit when the word length is set to 9 data bits; 8th bit when the word length is set to 8 data bits).

Definition at line 69 of file stm32f30x_usart.h.

uint16_t USART_InitTypeDef::USART_StopBits

Specifies the number of stop bits transmitted. This parameter can be a value of USART_Stop_Bits

Definition at line 65 of file stm32f4xx_usart.h.

uint32_t USART_InitTypeDef::USART_StopBits

Specifies the number of stop bits transmitted. This parameter can be a value of USART_Stop_Bits

Definition at line 66 of file stm32f30x_usart.h.

uint16_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

Definition at line 62 of file stm32f4xx_usart.h.

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

Definition at line 63 of file stm32f30x_usart.h.


The documentation for this struct was generated from the following files:


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:31