20 void reset(EmuTime::param time);
29 template<
typename Archive>
30 void serialize(Archive& ar,
unsigned version);
36 [[nodiscard]]
bool ready()
override;
37 [[nodiscard]]
bool acceptsData()
override;
38 void setDataBits(
DataBits bits)
override;
39 void setStopBits(
StopBits bits)
override;
40 void setParityBit(
bool enable,
Parity parity)
override;
41 void recvByte(
byte value, EmuTime::param time)
override;
47 void executeUntil(EmuTime::param time)
override {
49 mc6850.execRecv(time);
55 void executeUntil(EmuTime::param time)
override {
57 mc6850.execTrans(time);
60 void execRecv (EmuTime::param time);
61 void execTrans(EmuTime::param time);
66 const unsigned clockFreq;
Represents a clock with a variable frequency.
byte peekStatusReg() const
void reset(EmuTime::param time)
void writeControlReg(byte value, EmuTime::param time)
byte readStatusReg() const
void writeDataReg(byte value, EmuTime::param time)
void serialize(Archive &ar, unsigned version)
Every class that wants to get scheduled at some point must inherit from this class.
This file implemented 3 utility functions:
#define OUTER(type, member)