The Code Repository for the REV0 Steering Wheel.
Dependencies: CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses
Fork of REVO_Updated_Steering by
Diff: Buffers.h
- Revision:
- 36:8544a8900884
- Child:
- 40:92f08fdc32df
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Buffers.h Thu Jan 29 04:27:19 2015 +0000 @@ -0,0 +1,55 @@ +#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 \ No newline at end of file