The Pedigree Project  0.1
Public Member Functions | List of all members
Serial Class Referenceabstract

#include <Serial.h>

+ Inheritance diagram for Serial:
+ Collaboration diagram for Serial:

Public Member Functions

virtual void setBase (uintptr_t nBaseAddr)=0
 
virtual char read ()=0
 
virtual char readNonBlock ()=0
 
virtual void write (char c)=0
 
void write (const char *c)
 

Detailed Description

Serial device abstraction.

Definition at line 29 of file include/pedigree/kernel/machine/Serial.h.

Member Function Documentation

virtual void Serial::setBase ( uintptr_t  nBaseAddr)
pure virtual
Todo:
make this generic for Mmaped and port IO.

Implemented in MaltaSerial, PPCSerial, Au1500Serial, X86Serial, ArmVersatileSerial, FtdiSerialDevice, ArmBeagleSerial, and HostedSerial.


The documentation for this class was generated from the following files: