Overview   API Reference  

uart_registers Struct Reference

Struct containing all UART 8250/16450 internal registers. More...

#include <uart_registers.hpp>

Inheritance diagram for uart_registers:

Inheritance graph
[legend]
Collaboration diagram for uart_registers:

Collaboration graph
[legend]

List of all members.

Public Types

enum  interrupt_ids {
  RECEIVED_ERROR = 0x03, RECEIVED_DATA_AVAILABLE = 0x02, TRIGGER_LEVEL_IDENTIFICATION = 0x06, THR_EMPTY = 0x01,
  MODEM_STATUS_CHANGE = 0x00
}

Static Public Member Functions

static const char * register_name (const uint8_t offset)

Public Attributes

uint8_t rbr
uint8_t thr
union uart_registers::ier ier
uint16_t divisor_latch
union uart_registers::iir iir
union uart_registers::lcr lcr
union uart_registers::mcr mcr
union uart_registers::lsr lsr
union uart_registers::msr msr
uint8_t scr

Classes

union  ier
union  iir
union  lcr
union  lsr
union  mcr
union  msr


Detailed Description

Struct containing all UART 8250/16450 internal registers.

An exact memory layout is not required. However the registers itself must be defined as the standard describes.


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

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008