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:
jayf
Date:
2015-05-15
Revision:
45:aea289639d6b
Parent:
40:92f08fdc32df

File content as of revision 45:aea289639d6b:

/*#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];
char AccPedalBuffer[_size];
char BrkPedalBuffer[_size];

// Outgoing
char ConnectedStatusBuffer = 0;
char DriveStatus;
char DriveStatusRequestBuffer;
char TxResetBuffer = 1;*/
char message_data[2048][8] __attribute__((section("AHBSRAM0")));

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