Struct lpc177x_8x::uart0::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock { pub rbr: RBR, pub dlm: DLM, pub iir: IIR, pub lcr: LCR, pub lsr: LSR, pub scr: SCR, pub acr: ACR, pub fdr: FDR, pub ter: TER, pub rs485ctrl: RS485CTRL, pub rs485adrmatch: RS485ADRMATCH, pub rs485dly: RS485DLY, // some fields omitted }

Register block

Fields

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

0x04 - 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).

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

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

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

0x1c - Scratch Pad Register. 8-bit temporary storage for software.

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

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

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

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

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

0x54 - RS-485/EIA-485 direction control delay.

Auto Trait Implementations