bae integrated final (may be)

Dependencies:   mbed-rtos mbed

Fork of BAE_FRDMTESIN2 by Seeker of Truth ,

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers fault.h Source File

fault.h

00001 #include "mbed.h"
00002 #include "pin_config.h"
00003  
00004 #define FAULT0 PIN31
00005 #define FAULT1 PIN42      //  FAULTBAR
00006 #define FAULT2 PIN40      //  3V3APGOOD 
00007 #define FAULT3 PIN39      //  3V3BPGOOD                         
00008 #define FAULT4  PIN41     //  3V3CPGOOD      
00009 #define FAULT5  PIN79      //  3V3AOCBAR 
00010 #define FAULT6  PIN80      //  3V3COC  
00011 #define FAULT7  PIN97      //  SW8FAULT   
00012 #define FAULT8  PIN83      //  SW6FAULT   
00013 #define FAULT9 PIN89      //  SW7FAULT  
00014  
00015 //CONTROL SIGNALS
00016 #define FAULT_CLEAR1 D8                            
00017 #define FAULT_CLEAR2 D9
00018 #define FAULT_CLEAR3 D10
00019 #define FAULT_CLEAR4 D11
00020 #define FAULT_CLEAR5 D12
00021 #define FAULT_CLEAR6 D13
00022 #define FAULT_CLEAR7 PTC7
00023 #define FAULT_CLEAR8 PTC10
00024 #define FAULT_CLEAR9 PTC11
00025  
00026  
00027  
00028 #define ACS PTC4
00029 #define TX PTC6
00030 #define PAYLOAD PTC7
00031  
00032  
00033 void FAULTS();
00034 void POWER(char flag);
00035 void interrupt_fault();