Struct uart8250::registers::Registers[][src]

#[repr(C)]
pub struct Registers { pub rw: [RW<u8>; 5], pub ro: [RO<u8>; 2], pub scratch: RW<u8>, }
Expand description

UART Registers

The chip has a total of 12 different registers that are mapped into 8 different Port I/O locations / Memory Mapped I/O addresses.

The following is a table of each of the registers that can be found in a typical UART chip

Base AddressDLABI/O AccessAbbrv.Register Name
+00WriteTHRTransmitter Holding Buffer
+00ReadRBRReceiver Buffer
+01Read/WriteDLLDivisor Latch Low Byte
+10Read/WriteIERInterrupt Enable Register
+11Read/WriteDLHDivisor Latch High Byte
+2xReadIIRInterrupt Identification Register
+2xWriteFCRFIFO Control Register
+3xRead/WriteLCRLine Control Register
+4xRead/WriteMCRModem Control Register
+5xReadLSRLine Status Register
+6xReadMSRModem Status Register
+7xRead/WriteSRScratch Register

Fields

rw: [RW<u8>; 5]ro: [RO<u8>; 2]scratch: RW<u8>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.