14#define primarySerial (*pPrimarySerial)
void setStorageWriteTimeout(uint32_t time)
During serial comms, defer storage writes.
Definition comms.cpp:1191
uint32_t serialReceiveStartTime
The time in milliseconds at which the serial receive started. Used for calculating whether a timeout ...
Definition comms.cpp:85
void serialReceive(void)
The serial receive pump. Should be called whenever the serial port has data available to read.
Definition comms.cpp:476
Stream * pPrimarySerial
Definition comms.cpp:105
void serialTransmit(void)
The serial transmit pump. Should be called when serialStatusFlag indicates a transmit operation is in...
Definition comms.cpp:560
bool storageWriteTimeoutExpired(void)
Test if the timeout set by setStorageWriteTimeout has expired.
Definition comms.cpp:1195
bool isRxTimeout(void)
Checks whether the current serial command should be timed out.
Definition comms.cpp:116
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175