LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Data Fields
LPC_UART_T Struct Reference

Detailed Description

UART register block structure.

Definition at line 49 of file uart_112x.h.

#include "uart_112x.h"

Data Fields

union {
   __IO uint32_t   DLL
 
   __O uint32_t   THR
 
   __I uint32_t   RBR
 
}; 
 
union {
   __IO uint32_t   IER
 
   __IO uint32_t   DLM
 
}; 
 
union {
   __O uint32_t   FCR
 
   __I uint32_t   IIR
 
}; 
 
__IO uint32_t LCR
 
__IO uint32_t MCR
 
__I uint32_t LSR
 
__I uint32_t MSR
 
__IO uint32_t SCR
 
__IO uint32_t ACR
 
__I uint32_t RESERVED0
 
__IO uint32_t FDR
 
__I uint32_t RESERVED1
 
__IO uint32_t TER
 
__I uint32_t RESERVED2 [6]
 
__IO uint32_t RS485CTRL
 
__IO uint32_t RS485ADRMATCH
 
__IO uint32_t RS485DLY
 

Field Documentation

union { ... }
union { ... }
union { ... }
__IO uint32_t ACR

Auto-baud Control Register. Contains controls for the auto-baud feature.

Definition at line 72 of file uart_112x.h.

__IO uint32_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_112x.h.

__IO uint32_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_112x.h.

__O uint32_t FCR

FIFO Control Register. Controls UART FIFO usage and modes.

Definition at line 63 of file uart_112x.h.

__IO uint32_t FDR

Fractional Divider Register. Generates a clock input for the baud rate divider.

Definition at line 74 of file uart_112x.h.

__IO uint32_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_112x.h.

__I uint32_t IIR

Interrupt ID Register. Identifies which interrupt(s) are pending.

Definition at line 64 of file uart_112x.h.

__IO uint32_t LCR

Line Control Register. Contains controls for frame formatting and break generation.

Definition at line 67 of file uart_112x.h.

__I uint32_t LSR

Line Status Register. Contains flags for transmit and receive status, including line errors.

Definition at line 69 of file uart_112x.h.

__IO uint32_t MCR

Modem Control Register. Only present on UART ports with full modem support.

Definition at line 68 of file uart_112x.h.

__I uint32_t MSR

Modem Status Register. Only present on UART ports with full modem support.

Definition at line 70 of file uart_112x.h.

__I uint32_t RBR

Receiver Buffer Register. Contains the next received character to be read (DLAB = 0).

Definition at line 54 of file uart_112x.h.

__I uint32_t RESERVED0

Definition at line 73 of file uart_112x.h.

__I uint32_t RESERVED1

Definition at line 75 of file uart_112x.h.

__I uint32_t RESERVED2[6]

Definition at line 77 of file uart_112x.h.

__IO uint32_t RS485ADRMATCH

RS-485/EIA-485 address match. Contains the address match value for RS-485/EIA-485 mode.

Definition at line 79 of file uart_112x.h.

__IO uint32_t RS485CTRL

RS-485/EIA-485 Control. Contains controls to configure various aspects of RS-485/EIA-485 modes.

Definition at line 78 of file uart_112x.h.

__IO uint32_t RS485DLY

RS-485/EIA-485 direction control delay.

Definition at line 80 of file uart_112x.h.

__IO uint32_t SCR

Scratch Pad Register. Eight-bit temporary storage for software.

Definition at line 71 of file uart_112x.h.

__IO uint32_t TER

Transmit Enable Register. Turns off UART transmitter for use with software flow control.

Definition at line 76 of file uart_112x.h.

__O uint32_t THR

Transmit Holding Register. The next character to be transmitted is written here (DLAB = 0).

Definition at line 53 of file uart_112x.h.


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