STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Loading...
Searching...
No Matches
UartRegisters_t Struct Reference

USART/UART register block. More...

#include <uart_reg.h>

Data Fields

volatile uint32_t SR
 0x00: status
volatile uint32_t DR
 0x04: data
volatile uint32_t BRR
 0x08: baud rate
volatile uint32_t CR1
 0x0C: control 1
volatile uint32_t CR2
 0x10: control 2
volatile uint32_t CR3
 0x14: control 3
volatile uint32_t GTPR
 0x18: guard time and prescaler (USART only)

Detailed Description

USART/UART register block.

Definition at line 32 of file uart_reg.h.

Field Documentation

◆ SR

volatile uint32_t UartRegisters_t::SR

0x00: status

Definition at line 34 of file uart_reg.h.

Referenced by uartReceiveByte(), and uartWaitSrFlag().

◆ DR

volatile uint32_t UartRegisters_t::DR

0x04: data

Definition at line 35 of file uart_reg.h.

Referenced by uartReceiveByte(), and uartTransmitByte().

◆ BRR

volatile uint32_t UartRegisters_t::BRR

0x08: baud rate

Definition at line 36 of file uart_reg.h.

Referenced by uartDeinit(), and uartInit().

◆ CR1

volatile uint32_t UartRegisters_t::CR1

0x0C: control 1

Definition at line 37 of file uart_reg.h.

Referenced by uartDeinit(), and uartInit().

◆ CR2

volatile uint32_t UartRegisters_t::CR2

0x10: control 2

Definition at line 38 of file uart_reg.h.

Referenced by uartDeinit(), and uartInit().

◆ CR3

volatile uint32_t UartRegisters_t::CR3

0x14: control 3

Definition at line 39 of file uart_reg.h.

Referenced by uartDeinit().

◆ GTPR

volatile uint32_t UartRegisters_t::GTPR

0x18: guard time and prescaler (USART only)

Definition at line 40 of file uart_reg.h.

Referenced by uartDeinit().


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