Public Member Functions | Public Attributes

SerialDevice Class Reference

UART 16550 emulation. More...

Inheritance diagram for SerialDevice:
StaticReceiver< SerialDevice > DiscoveryHelper< SerialDevice > Device

List of all members.

Public Member Functions

bool receive (MessageSerial &msg)
bool receive (MessageIOIn &msg)
bool receive (MessageIOOut &msg)
void discovery ()
 SerialDevice (Motherboard &mb, unsigned short base, unsigned char irq, unsigned hostserial)

Public Attributes

Motherboard_mb

Detailed Description

UART 16550 emulation.

Copyright (C) 2007-2009, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. Implements a 16550 UART.

State: stable Missing Features: * no write fifo * no transmission effect of stopbit+parity+divisor * no character timeout indication -> need a timer for that * no MSR setting via client Ignored bits: FCR2-3, LCR2-6, LSR2-4,7 Documentation: NSC 16550D - PC16550D.pdf


Constructor & Destructor Documentation

SerialDevice::SerialDevice ( Motherboard mb,
unsigned short  base,
unsigned char  irq,
unsigned  hostserial 
) [inline]

Member Function Documentation

void SerialDevice::discovery (  )  [inline]
bool SerialDevice::receive ( MessageIOIn msg  )  [inline]
bool SerialDevice::receive ( MessageIOOut msg  )  [inline]
bool SerialDevice::receive ( MessageSerial msg  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines