sakthi priya amirtharaj
/
BAE_vr2_1_3
i2c working with old hk
Fork of BAE_vr2_1_1 by
Diff: fault.h
- Revision:
- 6:e65b1ab79f36
- Parent:
- 5:255b43e8e21a
- Child:
- 7:f06840d848e3
--- a/fault.h Thu Dec 04 07:17:44 2014 +0000 +++ b/fault.h Tue Dec 09 07:59:56 2014 +0000 @@ -1,15 +1,20 @@ #include "mbed.h" +#include "pin_config.h" + -#define FAULT1 PTB18 -#define FAULT2 PTB19 -#define FAULT3 D2 -#define FAULT4 D3 -#define FAULT5 D4 -#define FAULT6 D5 -#define FAULT7 D6 -#define FAULT8 D7 +#define FAULT1 PIN31 // CHARGEBAR +#define FAULT2 PIN42 // FAULTBAR +#define FAULT3 PIN40 // 3V3APGOOD +#define FAULT4 PIN39 // 3V3BPGOOD +#define FAULT5 PIN41 // 3V3CPGOOD +#define FAULT6 PIN79 // 3V3AOCBAR +#define FAULT7 PIN80 // 3V3COC +#define FAULT8 PIN97 // SW8FAULT +#define FAULT9 PIN83 // SW6FAULT +#define FAULT10 PIN89 // SW7FAULT -#define FAULT_CLEAR1 D8 +//CONTROL SIGNALS +#define FAULT_CLEAR1 D8 #define FAULT_CLEAR2 D9 #define FAULT_CLEAR3 D10 #define FAULT_CLEAR4 D11 @@ -17,6 +22,7 @@ #define FAULT_CLEAR6 D13 #define FAULT_CLEAR7 PTC10 #define FAULT_CLEAR8 PTC11 +#define FAULT_CLEAR9 PTC14 #define ACS PTC4 #define TX PTC6