USART register block structure. More...
#include <uart_11xx.h>
Public Attributes | |
union { | |
__IO uint32_t DLL | |
__I uint32_t RBR | |
__O uint32_t THR | |
}; | |
union { | |
__IO uint32_t DLM | |
__IO uint32_t IER | |
}; | |
union { | |
__O uint32_t FCR | |
__I uint32_t IIR | |
}; | |
union { | |
__I uint32_t FIFOLVL | |
__IO uint32_t SYNCCTRL | |
}; | |
__IO uint32_t | ACR |
__IO uint32_t | FDR |
__IO uint32_t | HDEN |
__IO uint32_t | ICR |
__IO uint32_t | LCR |
__I uint32_t | LSR |
__IO uint32_t | MCR |
__I uint32_t | MSR |
__IO uint32_t | OSR |
uint32_t | RESERVED0 [3] |
__I uint32_t | RESERVED1 [1] |
__IO uint32_t | RS485ADRMATCH |
__IO uint32_t | RS485CTRL |
__IO uint32_t | RS485DLY |
__IO uint32_t | SCICTRL |
__IO uint32_t | SCR |
__IO uint32_t | TER1 |
__IO uint32_t | TER2 |
USART register block structure.
Definition at line 49 of file uart_11xx.h.
union { ... } |
< USARTn Structure
union { ... } |
union { ... } |
union { ... } |
__IO uint32_t LPC_USART_T::ACR |
Auto-baud Control Register. Contains controls for the auto-baud feature.
Definition at line 72 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::DLL |
Divisor Latch LSB. Least significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider (DLAB = 1).
Definition at line 52 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::DLM |
Divisor Latch MSB. Most significant byte of the baud rate divisor value. The full divisor is used to generate a baud rate from the fractional rate divider (DLAB = 1).
Definition at line 59 of file uart_11xx.h.
__O uint32_t LPC_USART_T::FCR |
FIFO Control Register. Controls UART FIFO usage and modes.
Definition at line 63 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::FDR |
Fractional Divider Register. Generates a clock input for the baud rate divider.
Definition at line 74 of file uart_11xx.h.
__I uint32_t LPC_USART_T::FIFOLVL |
FIFO Level register. Provides the current fill levels of the transmit and receive FIFOs.
Definition at line 88 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::HDEN |
Half-duplex enable Register- only on some UARTs
Definition at line 78 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::ICR |
IrDA control register (not all UARTS)
Definition at line 73 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::IER |
Interrupt Enable Register. Contains individual interrupt enable bits for the 7 potential UART interrupts (DLAB = 0).
Definition at line 58 of file uart_11xx.h.
__I uint32_t LPC_USART_T::IIR |
Interrupt ID Register. Identifies which interrupt(s) are pending.
Definition at line 64 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::LCR |
Line Control Register. Contains controls for frame formatting and break generation.
Definition at line 67 of file uart_11xx.h.
__I uint32_t LPC_USART_T::LSR |
Line Status Register. Contains flags for transmit and receive status, including line errors.
Definition at line 69 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::MCR |
Modem Control Register. Only present on USART ports with full modem support.
Definition at line 68 of file uart_11xx.h.
__I uint32_t LPC_USART_T::MSR |
Modem Status Register. Only present on USART ports with full modem support.
Definition at line 70 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::OSR |
Oversampling Register. Controls the degree of oversampling during each bit time. Only on some UARTS.
Definition at line 75 of file uart_11xx.h.
__I uint32_t LPC_USART_T::RBR |
Receiver Buffer Register. Contains the next received character to be read (DLAB = 0).
Definition at line 54 of file uart_11xx.h.
uint32_t LPC_USART_T::RESERVED0[3] |
Definition at line 77 of file uart_11xx.h.
__I uint32_t LPC_USART_T::RESERVED1[1] |
Definition at line 79 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::RS485ADRMATCH |
RS-485/EIA-485 address match. Contains the address match value for RS-485/EIA-485 mode.
Definition at line 83 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::RS485CTRL |
RS-485/EIA-485 Control. Contains controls to configure various aspects of RS-485/EIA-485 modes.
Definition at line 82 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::RS485DLY |
RS-485/EIA-485 direction control delay.
Definition at line 84 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::SCICTRL |
Smart card interface control register- only on some UARTs
Definition at line 80 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::SCR |
Scratch Pad Register. Eight-bit temporary storage for software.
Definition at line 71 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::SYNCCTRL |
Synchronous mode control register. Only on USARTs.
Definition at line 87 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::TER1 |
Transmit Enable Register. Turns off USART transmitter for use with software flow control.
Definition at line 76 of file uart_11xx.h.
__IO uint32_t LPC_USART_T::TER2 |
Transmit Enable Register. Only on LPC177X_8X UART4 and LPC18XX/43XX USART0/2/3.
Definition at line 91 of file uart_11xx.h.
__O uint32_t LPC_USART_T::THR |
Transmit Holding Register. The next character to be transmitted is written here (DLAB = 0).
Definition at line 53 of file uart_11xx.h.