![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
not workin
Fork of BAE_FRDM_INTEGRATION by
Diff: fault.h
- Revision:
- 8:667fbc82d634
- Parent:
- 7:f06840d848e3
--- a/fault.h Wed Dec 10 06:34:17 2014 +0000 +++ b/fault.h Mon Dec 15 05:58:23 2014 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #include "pin_config.h" - - + +#define FAULT0 PIN31 #define FAULT1 PIN42 // FAULTBAR #define FAULT2 PIN40 // 3V3APGOOD #define FAULT3 PIN39 // 3V3BPGOOD @@ -11,7 +11,7 @@ #define FAULT7 PIN97 // SW8FAULT #define FAULT8 PIN83 // SW6FAULT #define FAULT9 PIN89 // SW7FAULT - + //CONTROL SIGNALS #define FAULT_CLEAR1 D8 #define FAULT_CLEAR2 D9 @@ -22,13 +22,14 @@ #define FAULT_CLEAR7 PTC7 #define FAULT_CLEAR8 PTC10 #define FAULT_CLEAR9 PTC11 - - - + + + #define ACS PTC4 #define TX PTC6 #define PAYLOAD PTC7 - - + + void FAULTS(); -void POWER(char flag); \ No newline at end of file +void POWER(char flag); +void interrupt_fault(); \ No newline at end of file