System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
serviceCAN/serviceCAN.h@30:91af74a299e1, 2014-11-13 (annotated)
- Committer:
- pspatel321
- Date:
- Thu Nov 13 10:53:10 2014 +0000
- Revision:
- 30:91af74a299e1
- Child:
- 33:6bc82b6b62e5
Parth's edits for the week.; DC-DC completed and fixed, IMD updated, LatchMonitor and Temperature added. Serial dashboard updated. File structure changed Everything tested. Compiles and runs.; Still need to write CAN in/out interface.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pspatel321 | 30:91af74a299e1 | 1 | #ifndef _SERVICE_CAN_H |
pspatel321 | 30:91af74a299e1 | 2 | #define _SERVICE_CAN_H |
pspatel321 | 30:91af74a299e1 | 3 | |
pspatel321 | 30:91af74a299e1 | 4 | #include "mbed.h" |
pspatel321 | 30:91af74a299e1 | 5 | #include "IOobjects.h" |
pspatel321 | 30:91af74a299e1 | 6 | |
pspatel321 | 30:91af74a299e1 | 7 | const int DEVICE_CAN_TIMEOUT = 0.25; // Comms. lost to external device if a message is not received within 200 ms |
pspatel321 | 30:91af74a299e1 | 8 | |
pspatel321 | 30:91af74a299e1 | 9 | namespace canbus { |
pspatel321 | 30:91af74a299e1 | 10 | bool serviceCAN(); |
pspatel321 | 30:91af74a299e1 | 11 | } |
pspatel321 | 30:91af74a299e1 | 12 | |
pspatel321 | 30:91af74a299e1 | 13 | #endif |