SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
SerialVar.h File Reference

Serial Variable Module. More...

#include "Log.h"
#include "SerialVars.def"
#include "WProgram.h"

Go to the source code of this file.

Classes

class  SerialVar::SerialVar< T >
 Template of a Serial Variable. More...
 

Namespaces

namespace  SerialVar
 SerialVar is used for variables that can be modified over usb serial while still being used during runtime like a normal variable.
 

Typedefs

typedef SerialVar< float > SerialVar::SerialFloat
 Convienece type for SerialVar floats.
 
typedef SerialVar< int > SerialVar::SerialInt
 Convienece type for SerialVar ints.
 
typedef SerialVar< unsigned int > SerialVar::SerialUInt
 Convienece type for SerialVar uints.
 

Functions

uint8_t * SerialVar::getVariable (size_t ID)
 Get the Serial Variable for a given ID.
 
void SerialVar::receiveSerialVar ()
 Receive a variable over serial.
 

Detailed Description

Serial Variable Module.

Author
IR
Version
0.1
Date
2021-11-06

Definition in file SerialVar.h.