The Code Repository for the REV0 Steering Wheel.

Dependencies:   CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses

Fork of REVO_Updated_Steering by Penn Electric

Buffers.h

Committer:
tmccurbin
Date:
2015-01-29
Revision:
36:8544a8900884
Child:
40:92f08fdc32df

File content as of revision 36:8544a8900884:

#define _size 10

// Battery
char BigBatLifeBuffer[_size];
char SmallBatLifeBuffer[_size];
char BigBatVoltBuffer[_size];
char BigBatPowerBuffer[_size];
char BigBatCurrentBuffer[_size];
char AvgBatTBuffer[_size];
char MaxBatTBuffer[_size];
char MinBatTBuffer[_size];
char VminBuffer[_size];
char VmaxBuffer[_size];
char VavgBuffer[_size];
char BoardTempBuffer[_size];

// Motor
char LMtrTmpBuffer[_size];
char RMtrTmpBuffer[_size];
char LAirTmpBuffer[_size];
char RAirTmpBuffer[_size];
char LIGBTmpBuffer[_size];
char RIGBTmpBuffer[_size];
char Rpm_LBuffer[_size];
char Rpm_RBuffer[_size];
char TRequestBufferL[_size];
char TRequestBufferR[_size];

// System Management
char SmallBatCurrentBuffer[_size];
char ShtdSwtchBuffer[_size];
char Fan1Buffer[_size];
char Fan2Buffer[_size];
char Pump1Buffer[_size];
char Pump2Buffer[_size];
char DCDCBuffer[_size];
char IMDRBuffer[_size];

// Miscellaneous Incoming
char CarSpdBuffer[_size];
char ChargeCurrBuffer[_size];
char SourceVBuffer[_size];
char Fault1Buffer[_size];

// Outgoing
char ConnectedStatusBuffer = 0;
char DriveStatus;
char DriveStatusRequestBuffer;
char TxResetBuffer = 1;


//char CAN1Buffer[_size];     USED IN DEMO 
//char CAN2Buffer[_size];     USED IN DEMO
//char CAN3Buffer[_size];     USED IN DEMO
//char CAN4Buffer[_size];     USED IN DEMO