|
The Pedigree Project
0.1
|
#include <Serial.h>
Inheritance diagram for ArmVersatileSerial:
Collaboration diagram for ArmVersatileSerial:Classes | |
| struct | serial |
Public Member Functions | |
| virtual void | setBase (uintptr_t nBaseAddr) |
| virtual char | read () |
| virtual char | readNonBlock () |
| virtual void | write (char c) |
Public Member Functions inherited from Serial | |
| void | write (const char *c) |
Public Attributes | |
| struct ArmVersatileSerial::serial | PACKED |
Implements a driver for the Serial connection of the Versatile's UART (A PL011).
Base for UART registers: 0x101f1000 Register offsets: UARTDR: 0x00 Read/write chars TODO: fill in the other regs
Definition at line 35 of file kernel/machine/arm_versatile/Serial.h.
|
virtual |
Implements Serial.
Definition at line 29 of file arm_versatile/Serial.cc.
1.8.11