![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
i2c working
Fork of BAE_FRDMTESIN2 by
fault.h@10:ed6d3b8d1d56, 2014-12-16 (annotated)
- Committer:
- greenroshks
- Date:
- Tue Dec 16 07:44:54 2014 +0000
- Revision:
- 10:ed6d3b8d1d56
- Parent:
- 8:69475d16d23d
working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 2:80b8a2e999f7 | 1 | #include "mbed.h" |
raizel_varun | 6:e65b1ab79f36 | 2 | #include "pin_config.h" |
raizel_varun | 6:e65b1ab79f36 | 3 | |
raizel_varun | 8:69475d16d23d | 4 | #define FAULT0 PIN31 |
raizel_varun | 7:f06840d848e3 | 5 | #define FAULT1 PIN42 // FAULTBAR |
raizel_varun | 7:f06840d848e3 | 6 | #define FAULT2 PIN40 // 3V3APGOOD |
raizel_varun | 7:f06840d848e3 | 7 | #define FAULT3 PIN39 // 3V3BPGOOD |
raizel_varun | 7:f06840d848e3 | 8 | #define FAULT4 PIN41 // 3V3CPGOOD |
raizel_varun | 7:f06840d848e3 | 9 | #define FAULT5 PIN79 // 3V3AOCBAR |
raizel_varun | 7:f06840d848e3 | 10 | #define FAULT6 PIN80 // 3V3COC |
raizel_varun | 7:f06840d848e3 | 11 | #define FAULT7 PIN97 // SW8FAULT |
raizel_varun | 7:f06840d848e3 | 12 | #define FAULT8 PIN83 // SW6FAULT |
raizel_varun | 7:f06840d848e3 | 13 | #define FAULT9 PIN89 // SW7FAULT |
sakthipriya | 2:80b8a2e999f7 | 14 | |
raizel_varun | 6:e65b1ab79f36 | 15 | //CONTROL SIGNALS |
raizel_varun | 6:e65b1ab79f36 | 16 | #define FAULT_CLEAR1 D8 |
sakthipriya | 2:80b8a2e999f7 | 17 | #define FAULT_CLEAR2 D9 |
sakthipriya | 2:80b8a2e999f7 | 18 | #define FAULT_CLEAR3 D10 |
sakthipriya | 2:80b8a2e999f7 | 19 | #define FAULT_CLEAR4 D11 |
sakthipriya | 2:80b8a2e999f7 | 20 | #define FAULT_CLEAR5 D12 |
sakthipriya | 2:80b8a2e999f7 | 21 | #define FAULT_CLEAR6 D13 |
raizel_varun | 7:f06840d848e3 | 22 | #define FAULT_CLEAR7 PTC7 |
raizel_varun | 7:f06840d848e3 | 23 | #define FAULT_CLEAR8 PTC10 |
raizel_varun | 7:f06840d848e3 | 24 | #define FAULT_CLEAR9 PTC11 |
raizel_varun | 7:f06840d848e3 | 25 | |
raizel_varun | 7:f06840d848e3 | 26 | |
sakthipriya | 2:80b8a2e999f7 | 27 | |
sakthipriya | 4:8f6c24eca109 | 28 | #define ACS PTC4 |
sakthipriya | 4:8f6c24eca109 | 29 | #define TX PTC6 |
sakthipriya | 4:8f6c24eca109 | 30 | #define PAYLOAD PTC7 |
sakthipriya | 2:80b8a2e999f7 | 31 | |
sakthipriya | 2:80b8a2e999f7 | 32 | |
sakthipriya | 4:8f6c24eca109 | 33 | void FAULTS(); |
raizel_varun | 8:69475d16d23d | 34 | void POWER(char flag); |
raizel_varun | 8:69475d16d23d | 35 | void interrupt_fault(); |