drive down
Dependencies: BMP280 BNO055_fusion PowerControl mbed
Fork of TEAM_G_FLOW_RIDA by
SAFETY.h@23:455f7da3dd7a, 2016-04-03 (annotated)
- Committer:
- 12104404
- Date:
- Sun Apr 03 07:08:18 2016 +0000
- Revision:
- 23:455f7da3dd7a
- Parent:
- WATCHDOG.h@6:0602a9e8118b
Brown Out and LED calling fixed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
12104404 | 23:455f7da3dd7a | 1 | #ifndef SAFETY_H |
12104404 | 23:455f7da3dd7a | 2 | #define SAFETY_H |
12104404 | 6:0602a9e8118b | 3 | |
12104404 | 23:455f7da3dd7a | 4 | #include "PowerControl/PowerControl.h" |
12104404 | 23:455f7da3dd7a | 5 | #include "PowerControl/EthernetPowerControl.h" |
12104404 | 6:0602a9e8118b | 6 | #include "mbed.h" |
12104404 | 6:0602a9e8118b | 7 | |
12104404 | 23:455f7da3dd7a | 8 | class SAFETY |
12104404 | 6:0602a9e8118b | 9 | { |
12104404 | 6:0602a9e8118b | 10 | public: |
12104404 | 6:0602a9e8118b | 11 | void kick(float s); |
12104404 | 6:0602a9e8118b | 12 | void kick(void); |
12104404 | 23:455f7da3dd7a | 13 | int semihost_powerdown(); |
12104404 | 23:455f7da3dd7a | 14 | void init(uint32_t brownOutRoutine); |
12104404 | 6:0602a9e8118b | 15 | }; |
12104404 | 6:0602a9e8118b | 16 | |
12104404 | 6:0602a9e8118b | 17 | #endif |