Data Fields
uart Struct Reference

A 16550-compatible UART. More...

#include <uart.h>

Data Fields

void * base
 I/O port base address.
uint16_t divisor
 Baud rate divisor.
uint8_t lcr
 Line control register.

Detailed Description

A 16550-compatible UART.

Definition at line 80 of file uart.h.

Field Documentation

void* uart::base

I/O port base address.

Definition at line 82 of file uart.h.

Referenced by int21(), int22(), serial_getchar(), serial_iskey(), serial_putchar(), serial_shutdown(), uart_exists(), and uart_select().

Baud rate divisor.

Definition at line 84 of file uart.h.

Referenced by int22(), and uart_init().

Line control register.

Definition at line 86 of file uart.h.

Referenced by uart_init().

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