Data Fields
uart Struct Reference

A 16550-compatible UART. More...

#include <uart.h>

Data Fields

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

Detailed Description

A 16550-compatible UART.

Definition at line 80 of file uart.h.

Field Documentation

◆ base

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().

◆ divisor

uint16_t uart::divisor

Baud rate divisor.

Definition at line 84 of file uart.h.

Referenced by int22(), and uart_init().

◆ lcr

uint8_t uart::lcr

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: