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

Committer:
jayf
Date:
Fri May 15 04:14:09 2015 +0000
Revision:
45:aea289639d6b
Parent:
40:92f08fdc32df
More changes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jayf 45:aea289639d6b 1 /*#define _size 10
tmccurbin 36:8544a8900884 2
tmccurbin 36:8544a8900884 3 // Battery
tmccurbin 36:8544a8900884 4 char BigBatLifeBuffer[_size];
tmccurbin 36:8544a8900884 5 char SmallBatLifeBuffer[_size];
tmccurbin 36:8544a8900884 6 char BigBatVoltBuffer[_size];
tmccurbin 36:8544a8900884 7 char BigBatPowerBuffer[_size];
tmccurbin 36:8544a8900884 8 char BigBatCurrentBuffer[_size];
tmccurbin 36:8544a8900884 9 char AvgBatTBuffer[_size];
tmccurbin 36:8544a8900884 10 char MaxBatTBuffer[_size];
tmccurbin 36:8544a8900884 11 char MinBatTBuffer[_size];
tmccurbin 36:8544a8900884 12 char VminBuffer[_size];
tmccurbin 36:8544a8900884 13 char VmaxBuffer[_size];
tmccurbin 36:8544a8900884 14 char VavgBuffer[_size];
tmccurbin 36:8544a8900884 15 char BoardTempBuffer[_size];
tmccurbin 36:8544a8900884 16
tmccurbin 36:8544a8900884 17 // Motor
tmccurbin 36:8544a8900884 18 char LMtrTmpBuffer[_size];
tmccurbin 36:8544a8900884 19 char RMtrTmpBuffer[_size];
tmccurbin 36:8544a8900884 20 char LAirTmpBuffer[_size];
tmccurbin 36:8544a8900884 21 char RAirTmpBuffer[_size];
tmccurbin 36:8544a8900884 22 char LIGBTmpBuffer[_size];
tmccurbin 36:8544a8900884 23 char RIGBTmpBuffer[_size];
tmccurbin 36:8544a8900884 24 char Rpm_LBuffer[_size];
tmccurbin 36:8544a8900884 25 char Rpm_RBuffer[_size];
tmccurbin 36:8544a8900884 26 char TRequestBufferL[_size];
tmccurbin 36:8544a8900884 27 char TRequestBufferR[_size];
tmccurbin 36:8544a8900884 28
tmccurbin 36:8544a8900884 29 // System Management
tmccurbin 36:8544a8900884 30 char SmallBatCurrentBuffer[_size];
tmccurbin 36:8544a8900884 31 char ShtdSwtchBuffer[_size];
tmccurbin 36:8544a8900884 32 char Fan1Buffer[_size];
tmccurbin 36:8544a8900884 33 char Fan2Buffer[_size];
tmccurbin 36:8544a8900884 34 char Pump1Buffer[_size];
tmccurbin 36:8544a8900884 35 char Pump2Buffer[_size];
tmccurbin 36:8544a8900884 36 char DCDCBuffer[_size];
tmccurbin 36:8544a8900884 37 char IMDRBuffer[_size];
tmccurbin 36:8544a8900884 38
tmccurbin 36:8544a8900884 39 // Miscellaneous Incoming
tmccurbin 36:8544a8900884 40 char CarSpdBuffer[_size];
tmccurbin 36:8544a8900884 41 char ChargeCurrBuffer[_size];
tmccurbin 36:8544a8900884 42 char SourceVBuffer[_size];
tmccurbin 36:8544a8900884 43 char Fault1Buffer[_size];
tmccurbin 40:92f08fdc32df 44 char AccPedalBuffer[_size];
tmccurbin 40:92f08fdc32df 45 char BrkPedalBuffer[_size];
tmccurbin 36:8544a8900884 46
tmccurbin 36:8544a8900884 47 // Outgoing
tmccurbin 36:8544a8900884 48 char ConnectedStatusBuffer = 0;
tmccurbin 36:8544a8900884 49 char DriveStatus;
tmccurbin 36:8544a8900884 50 char DriveStatusRequestBuffer;
jayf 45:aea289639d6b 51 char TxResetBuffer = 1;*/
jayf 45:aea289639d6b 52 char message_data[2048][8] __attribute__((section("AHBSRAM0")));
tmccurbin 36:8544a8900884 53
tmccurbin 36:8544a8900884 54 //char CAN1Buffer[_size]; USED IN DEMO
tmccurbin 36:8544a8900884 55 //char CAN2Buffer[_size]; USED IN DEMO
tmccurbin 36:8544a8900884 56 //char CAN3Buffer[_size]; USED IN DEMO
tmccurbin 36:8544a8900884 57 //char CAN4Buffer[_size]; USED IN DEMO