openMSX
RS232Device.cc
Go to the documentation of this file.
1#include "RS232Device.hh"
2
3namespace openmsx {
4
5std::string_view RS232Device::getClass() const
6{
7 return "RS232";
8}
9
11{
12 // ignore
13}
14
16{
17 // ignore
18}
19
20void RS232Device::setParityBit(bool /*enable*/, ParityBit /*parity*/)
21{
22 // ignore
23}
24
25bool RS232Device::getCTS(EmuTime::param /*time*/) const
26{
27 return true; // TODO check
28}
29
30bool RS232Device::getDSR(EmuTime::param /*time*/) const
31{
32 return true; // TODO check
33}
34
35void RS232Device::setDTR(bool /*status*/, EmuTime::param /*time*/)
36{
37 // ignore
38}
39
40void RS232Device::setRTS(bool /*status*/, EmuTime::param /*time*/)
41{
42 // ignore
43}
44
45} // namespace openmsx
virtual bool getCTS(EmuTime::param time) const
virtual void setRTS(bool status, EmuTime::param time)
void setStopBits(StopBits bits) override
void setParityBit(bool enable, ParityBit parity) override
void setDataBits(DataBits bits) override
std::string_view getClass() const final
A pluggable belongs to a certain class.
Definition RS232Device.cc:5
virtual void setDTR(bool status, EmuTime::param time)
virtual bool getDSR(EmuTime::param time) const
This file implemented 3 utility functions:
Definition Autofire.cc:9