STM32F1 Standard Peripheral bibliotheek
1.0
ST Microelectronics bibliotheek documentatie voor de STM32F1 Standard Peripheral Library
|
USART Init Structure definition. More...
#include <stm32f10x_usart.h>
Data Fields | |
uint32_t | USART_BaudRate |
uint16_t | USART_WordLength |
uint16_t | USART_StopBits |
uint16_t | USART_Parity |
uint16_t | USART_Mode |
uint16_t | USART_HardwareFlowControl |
USART Init Structure definition.
uint32_t USART_BaudRate |
This member configures the USART communication baud rate.
The baud rate is computed using the following formula:
uint16_t USART_HardwareFlowControl |
Specifies wether the hardware flow control mode is enabled
or disabled. This parameter can be a value of USART_Hardware_Flow_Control
uint16_t USART_Mode |
Specifies wether the Receive or Transmit mode is enabled or disabled.
This parameter can be a value of USART_Mode
uint16_t USART_Parity |
Specifies the parity mode.
This parameter can be a value of USART_Parity
uint16_t USART_StopBits |
Specifies the number of stop bits transmitted.
This parameter can be a value of USART_Stop_Bits
uint16_t USART_WordLength |
Specifies the number of data bits transmitted or received in a frame.
This parameter can be a value of USART_Word_Length