UART peripheral register map for STM32F4. More...
#include <uart_reg.h>
Public Attributes | |
| __IO uint32_t | SR |
| __IO uint32_t | DR |
| __IO uint32_t | BRR |
| __IO uint32_t | CR1 |
| __IO uint32_t | CR2 |
| __IO uint32_t | CR3 |
| __IO uint32_t | GTPR |
UART peripheral register map for STM32F4.
This structure provides direct access to the memory-mapped UART registers. Each member corresponds to a specific UART register and its offset. All registers are marked as __IO for volatile read/write access.
| __IO uint32_t UARTx_Reg_Typedef::BRR |
0x08: Baud Rate Register Configures UART baud rate based on peripheral clock.
| __IO uint32_t UARTx_Reg_Typedef::CR1 |
0x0C: Control Register 1 Enables UART, configures word length, parity, etc.
| __IO uint32_t UARTx_Reg_Typedef::CR2 |
0x10: Control Register 2 Configures stop bits, clock enable for synchronous mode.
| __IO uint32_t UARTx_Reg_Typedef::CR3 |
0x14: Control Register 3 Enables DMA, error interrupts, smart card mode, etc.
| __IO uint32_t UARTx_Reg_Typedef::DR |
0x04: Data Register Write to transmit data, read to receive data.
| __IO uint32_t UARTx_Reg_Typedef::GTPR |
0x18: Guard Time and Prescaler Register Used for smart card mode timing and prescaler.
| __IO uint32_t UARTx_Reg_Typedef::SR |
0x00: Status Register Contains flags like TXE, RXNE, TC, etc.