![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
cdms i2c working - but not working after hk data is sent
Fork of pcb_test_vr1_1_2 by
fault.h@5:bf1f3504cd9d, 2015-05-17 (annotated)
- Committer:
- sakthipriya
- Date:
- Sun May 17 06:18:41 2015 +0000
- Revision:
- 5:bf1f3504cd9d
- Parent:
- 1:bbddd1763652
cdms i2c working - but not working after hk data is sent
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 | 1:bbddd1763652 | 4 | #define FAULT0 PIN31 // CHARGEBAR |
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 | 1:bbddd1763652 | 9 | #define FAULT5 PIN79 // 3V3AOCBAR |
sakthipriya | 0:e91ee0e99213 | 10 | #define FAULT6 PIN80 // 3V3COC |
sakthipriya | 1:bbddd1763652 | 11 | #define FAULT7 PIN89 // TRZ |
sakthipriya | 1:bbddd1763652 | 12 | #define FAULT8 PIN83 // TRXTRY |
sakthipriya | 1:bbddd1763652 | 13 | #define FAULT9 PIN97 // SW0FAULT |
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(); |