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