![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
acs integration working
fault.h@0:e91ee0e99213, 2015-04-07 (annotated)
- Committer:
- sakthipriya
- Date:
- Tue Apr 07 16:11:54 2015 +0000
- Revision:
- 0:e91ee0e99213
acs integration working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 0:e91ee0e99213 | 1 | #include "mbed.h" |
sakthipriya | 0:e91ee0e99213 | 2 | #include "pin_config.h" |
sakthipriya | 0:e91ee0e99213 | 3 | |
sakthipriya | 0:e91ee0e99213 | 4 | #define FAULT0 PIN31 |
sakthipriya | 0:e91ee0e99213 | 5 | #define FAULT1 PIN42 // FAULTBAR |
sakthipriya | 0:e91ee0e99213 | 6 | #define FAULT2 PIN40 // 3V3APGOOD |
sakthipriya | 0:e91ee0e99213 | 7 | #define FAULT3 PIN39 // 3V3BPGOOD |
sakthipriya | 0:e91ee0e99213 | 8 | #define FAULT4 PIN41 // 3V3CPGOOD |
sakthipriya | 0:e91ee0e99213 | 9 | #define FAULT5 PTC23 // 3V3AOCBAR //changed here |
sakthipriya | 0:e91ee0e99213 | 10 | #define FAULT6 PIN80 // 3V3COC |
sakthipriya | 0:e91ee0e99213 | 11 | #define FAULT7 PIN38 // SW8FAULT /// to pin 97 later |
sakthipriya | 0:e91ee0e99213 | 12 | #define FAULT8 PIN83 // SW6FAULT |
sakthipriya | 0:e91ee0e99213 | 13 | #define FAULT9 PIN89 // SW7FAULT |
sakthipriya | 0:e91ee0e99213 | 14 | |
sakthipriya | 0:e91ee0e99213 | 15 | //CONTROL SIGNALS |
sakthipriya | 0:e91ee0e99213 | 16 | #define FAULT_CLEAR1 D8 |
sakthipriya | 0:e91ee0e99213 | 17 | #define FAULT_CLEAR2 D9 |
sakthipriya | 0:e91ee0e99213 | 18 | #define FAULT_CLEAR3 D10 |
sakthipriya | 0:e91ee0e99213 | 19 | #define FAULT_CLEAR4 D11 |
sakthipriya | 0:e91ee0e99213 | 20 | #define FAULT_CLEAR5 D12 |
sakthipriya | 0:e91ee0e99213 | 21 | #define FAULT_CLEAR6 D13 |
sakthipriya | 0:e91ee0e99213 | 22 | #define FAULT_CLEAR7 PTC7 |
sakthipriya | 0:e91ee0e99213 | 23 | #define FAULT_CLEAR8 PTC10 |
sakthipriya | 0:e91ee0e99213 | 24 | #define FAULT_CLEAR9 PTC11 |
sakthipriya | 0:e91ee0e99213 | 25 | |
sakthipriya | 0:e91ee0e99213 | 26 | |
sakthipriya | 0:e91ee0e99213 | 27 | |
sakthipriya | 0:e91ee0e99213 | 28 | #define ACS PTE2 |
sakthipriya | 0:e91ee0e99213 | 29 | #define TX PTE3 |
sakthipriya | 0:e91ee0e99213 | 30 | #define PAYLOAD PTE6 |
sakthipriya | 0:e91ee0e99213 | 31 | |
sakthipriya | 0:e91ee0e99213 | 32 | |
sakthipriya | 0:e91ee0e99213 | 33 | void FUNC_HK_FAULTS(); |
sakthipriya | 0:e91ee0e99213 | 34 | void FUNC_HK_POWER(char flag); |
sakthipriya | 0:e91ee0e99213 | 35 | void interrupt_fault(); |