openMSX
Public Member Functions | List of all members
openmsx::MSXMidiI8251Interf Class Reference
Inheritance diagram for openmsx::MSXMidiI8251Interf:
Inheritance graph
[legend]
Collaboration diagram for openmsx::MSXMidiI8251Interf:
Collaboration graph
[legend]

Public Member Functions

 MSXMidiI8251Interf (MSXMidi &midi)
 
virtual ~MSXMidiI8251Interf ()
 
virtual void setRxRDY (bool status, EmuTime::param time)
 
virtual void setDTR (bool status, EmuTime::param time)
 
virtual void setRTS (bool status, EmuTime::param time)
 
virtual bool getDSR (EmuTime::param time)
 
virtual bool getCTS (EmuTime::param time)
 
virtual void setDataBits (DataBits bits)
 
virtual void setStopBits (StopBits bits)
 
virtual void setParityBit (bool enable, ParityBit parity)
 
virtual void recvByte (byte value, EmuTime::param time)
 
virtual void signal (EmuTime::param time)
 
- Public Member Functions inherited from openmsx::I8251Interface
virtual ~I8251Interface ()
 
- Public Member Functions inherited from openmsx::SerialDataInterface
virtual ~SerialDataInterface ()
 

Additional Inherited Members

- Public Types inherited from openmsx::SerialDataInterface
enum  DataBits { DATA_5 = 5, DATA_6 = 6, DATA_7 = 7, DATA_8 = 8 }
 
enum  StopBits { STOP_INV = 0, STOP_1 = 2, STOP_15 = 3, STOP_2 = 4 }
 
enum  ParityBit { EVEN = 0, ODD = 1 }
 

Detailed Description

Definition at line 41 of file MSXMidi.cc.

Constructor & Destructor Documentation

openmsx::MSXMidiI8251Interf::MSXMidiI8251Interf ( MSXMidi midi)
explicit

Definition at line 327 of file MSXMidi.cc.

openmsx::MSXMidiI8251Interf::~MSXMidiI8251Interf ( )
virtual

Definition at line 332 of file MSXMidi.cc.

Member Function Documentation

bool openmsx::MSXMidiI8251Interf::getCTS ( EmuTime::param  time)
virtual

Implements openmsx::I8251Interface.

Definition at line 356 of file MSXMidi.cc.

bool openmsx::MSXMidiI8251Interf::getDSR ( EmuTime::param  time)
virtual

Implements openmsx::I8251Interface.

Definition at line 351 of file MSXMidi.cc.

References openmsx::IntHelper< SOURCE >::getState().

void openmsx::MSXMidiI8251Interf::recvByte ( byte  value,
EmuTime::param  time 
)
virtual

Implements openmsx::SerialDataInterface.

Definition at line 376 of file MSXMidi.cc.

void openmsx::MSXMidiI8251Interf::setDataBits ( DataBits  bits)
virtual

Implements openmsx::SerialDataInterface.

Definition at line 361 of file MSXMidi.cc.

void openmsx::MSXMidiI8251Interf::setDTR ( bool  status,
EmuTime::param  time 
)
virtual

Implements openmsx::I8251Interface.

Definition at line 341 of file MSXMidi.cc.

void openmsx::MSXMidiI8251Interf::setParityBit ( bool  enable,
ParityBit  parity 
)
virtual

Implements openmsx::SerialDataInterface.

Definition at line 371 of file MSXMidi.cc.

void openmsx::MSXMidiI8251Interf::setRTS ( bool  status,
EmuTime::param  time 
)
virtual

Implements openmsx::I8251Interface.

Definition at line 346 of file MSXMidi.cc.

void openmsx::MSXMidiI8251Interf::setRxRDY ( bool  status,
EmuTime::param  time 
)
virtual

Implements openmsx::I8251Interface.

Definition at line 336 of file MSXMidi.cc.

void openmsx::MSXMidiI8251Interf::setStopBits ( StopBits  bits)
virtual

Implements openmsx::SerialDataInterface.

Definition at line 366 of file MSXMidi.cc.

void openmsx::MSXMidiI8251Interf::signal ( EmuTime::param  time)
virtual

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