System Management code

Dependencies:   CANBuffer mbed SystemManagement mbed-rtos

Dependents:   SystemManagement

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DC_DC.h Source File

DC_DC.h

00001 #ifndef _FILE_DC_DC_H
00002 #define _FILE_DC_DC_H
00003 
00004 #include "CANBuffer.h"
00005 #include "FanPump.h"
00006 #include "rtos.h"
00007 
00008 const int TX_DC_DC_ID = ((4 << 8) | 5);
00009 const int RX_DC_DC_ID = ((4 << 8) | 14);
00010 
00011 class DC{
00012 public:
00013     DC(FanPump *fanPump, CANBuffer *can);          //constructor takes function to shut down certain processes when off
00014     bool is_on();
00015     void set(bool status);   
00016     void start_update(); 
00017 };
00018 
00019 #endif