Speeduino
Loading...
Searching...
No Matches
Macros | Functions | Variables
comms.h File Reference

File for handling all serial requests. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define primarySerial   (*pPrimarySerial)
 

Functions

void serialReceive (void)
 The serial receive pump. Should be called whenever the serial port has data available to read.
 
void serialTransmit (void)
 The serial transmit pump. Should be called when serialStatusFlag indicates a transmit operation is in progress.
 
bool isRxTimeout (void)
 Checks whether the current serial command should be timed out.
 

Variables

StreampPrimarySerial
 
uint32_t serialReceiveStartTime
 The time in milliseconds at which the serial receive started. Used for calculating whether a timeout has occurred.
 

Detailed Description

File for handling all serial requests.

Author
Josh Stewart

This file contains all the functions associated with serial comms. This includes sending of live data, sending/receiving current page data, sending CRC values of pages, receiving sensor calibration data etc

Macro Definition Documentation

◆ primarySerial

#define primarySerial   (*pPrimarySerial)