acs bea hk together

Dependencies:   mbed-rtos mbed

Fork of BAE_vr3honeycomb1_christmas by green rosh

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  PTC23      //  3V3AOCBAR                //changed here
00010 #define FAULT6  PIN80      //  3V3COC  
00011 #define FAULT7  PIN38      //  SW8FAULT   /// to pin 97 later 
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 PTE2
00029 #define TX PTE3
00030 #define PAYLOAD PTE6
00031 
00032 
00033 void FUNC_HK_FAULTS();
00034 void FUNC_HK_POWER(char flag);
00035 void interrupt_fault();