49 event_clock_t lastSync;
61 bool model4485 =
false;
64 void event()
override;
69 void doStartSdr() { (loaded ? pending : loaded) =
true; }
71 void syncCntHistory();
75 Event(
"Serial Port interrupt"),
77 eventScheduler(scheduler),
78 flipCntEvent(
"flip CNT", *
this, &SerialPort::flipCnt),
79 flipFakeEvent(
"flip fake", *
this, &SerialPort::flipFake),
80 startSdrEvent(
"start SDR", *
this, &SerialPort::doStartSdr)
85 void setModel4485(
bool is4485) { model4485 = is4485; }
87 void startSdr() { eventScheduler.schedule(startSdrEvent, 1); }
89 void switchSerialDirection(
bool input);