System Management code

Dependencies:   CANBuffer mbed SystemManagement mbed-rtos

Dependents:   SystemManagement

System Management code for Penn Electric Racing

Functions:

Controls Fans and Pumps via instruction from CAN Messages, ramps them up over time to prevent damage

Turns on/off DC-DC converter via instruction from CAN Messages

History

PollSwitch code; default tip

2014-10-10, by martydd3 [Fri, 10 Oct 2014 20:59:36 +0000] rev 7

PollSwitch code;


Added Watchdog timer, put DC_DC converter and FanPump code into their own classes.; To do: Look into how to call class member functions in a thread. Current thread functions are not members of classes.

2014-10-10, by martydd3 [Fri, 10 Oct 2014 20:24:22 +0000] rev 6

Added Watchdog timer, put DC_DC converter and FanPump code into their own classes.; To do: Look into how to call class member functions in a thread. Current thread functions are not members of classes.


Added 10 Hz update threads for DC-DC and fans/pumps

2014-10-08, by martydd3 [Wed, 08 Oct 2014 20:56:41 +0000] rev 5

Added 10 Hz update threads for DC-DC and fans/pumps


Cleaned up code, messed around with threading, reverted changes after messing around, couldn't find better way to write threading code (aka waste of a few hours blagh)

2014-10-08, by martydd3 [Wed, 08 Oct 2014 00:38:41 +0000] rev 4

Cleaned up code, messed around with threading, reverted changes after messing around, couldn't find better way to write threading code (aka waste of a few hours blagh)


Added code for toggling DC_DC converter, turning off DC_DC on startup. Very simple starting code

2014-10-07, by martydd3 [Tue, 07 Oct 2014 22:42:35 +0000] rev 3

Added code for toggling DC_DC converter, turning off DC_DC on startup. Very simple starting code


Add preliminary code to control fans and pumps using PWM; To do: Decide CANMessage format for controlling fans and pumps; Debug and test code; Add to toggle DC-DC converter via CAN;

2014-10-05, by martydd3 [Sun, 05 Oct 2014 17:35:20 +0000] rev 2

Add preliminary code to control fans and pumps using PWM; To do: Decide CANMessage format for controlling fans and pumps; Debug and test code; Add to toggle DC-DC converter via CAN;


System Management code;

2014-10-04, by martydd3 [Sat, 04 Oct 2014 16:19:45 +0000] rev 1

System Management code;


Added LPCDigitalOut, LPCDigitalIn, and CANBuffer Libaries; Comments on code in SysMngmt.cpp involving register and pin access; Note: LPCDigitalOut.h defines a void mode(PinMode) which isn't in LPCDigitalOut.cpp, causes a linking error if used

2014-10-01, by martydd3 [Wed, 01 Oct 2014 12:52:26 +0000] rev 0

Added LPCDigitalOut, LPCDigitalIn, and CANBuffer Libaries; Comments on code in SysMngmt.cpp involving register and pin access; Note: LPCDigitalOut.h defines a void mode(PinMode) which isn't in LPCDigitalOut.cpp, causes a linking error if used