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
Definition: RS232Device.cc:25
virtual void setRTS(bool status, EmuTime::param time)
Definition: RS232Device.cc:40
void setStopBits(StopBits bits) override
Definition: RS232Device.cc:15
void setParityBit(bool enable, ParityBit parity) override
Definition: RS232Device.cc:20
void setDataBits(DataBits bits) override
Definition: RS232Device.cc:10
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)
Definition: RS232Device.cc:35
virtual bool getDSR(EmuTime::param time) const
Definition: RS232Device.cc:30
This file implemented 3 utility functions:
Definition: Autofire.cc:9