Speeduino
Loading...
Searching...
No Matches
comms.h
Go to the documentation of this file.
1
10#ifndef COMMS_H
11#define COMMS_H
12
14#define primarySerial (*pPrimarySerial)
15
17
22void serialReceive(void);
23
26void serialTransmit(void);
27
32bool isRxTimeout(void);
33
36
37#endif // COMMS_H
uint32_t serialReceiveStartTime
The time in milliseconds at which the serial receive started. Used for calculating whether a timeout ...
Definition comms.cpp:86
void serialReceive(void)
The serial receive pump. Should be called whenever the serial port has data available to read.
Definition comms.cpp:495
Stream * pPrimarySerial
Definition comms.cpp:106
void serialTransmit(void)
The serial transmit pump. Should be called when serialStatusFlag indicates a transmit operation is in...
Definition comms.cpp:579
bool storageWriteTimeoutExpired(void)
Test if the current storage write defer interval has expired.
Definition comms.cpp:1224
bool isRxTimeout(void)
Checks whether the current serial command should be timed out.
Definition comms.cpp:124
Definition array.h:14