hk data sent using string

Dependencies:   mbed-rtos mbed

Fork of BAE_FRDMTESIN2 by green rosh

fault.h

Committer:
raizel_varun
Date:
2014-12-09
Revision:
6:e65b1ab79f36
Parent:
5:255b43e8e21a
Child:
7:f06840d848e3

File content as of revision 6:e65b1ab79f36:

#include "mbed.h"
#include "pin_config.h"


#define FAULT1 PIN31       //  CHARGEBAR
#define FAULT2 PIN42       //  FAULTBAR
#define FAULT3 PIN40       //  3V3APGOOD                          
#define FAULT4  PIN39      //  3V3BPGOOD 
#define FAULT5  PIN41      //  3V3CPGOOD  
#define FAULT6  PIN79      //  3V3AOCBAR 
#define FAULT7  PIN80      //  3V3COC  
#define FAULT8  PIN97      //  SW8FAULT   
#define FAULT9  PIN83      //  SW6FAULT   
#define FAULT10 PIN89      //  SW7FAULT  

//CONTROL SIGNALS
#define FAULT_CLEAR1 D8                            
#define FAULT_CLEAR2 D9
#define FAULT_CLEAR3 D10
#define FAULT_CLEAR4 D11
#define FAULT_CLEAR5 D12
#define FAULT_CLEAR6 D13
#define FAULT_CLEAR7 PTC10
#define FAULT_CLEAR8 PTC11
#define FAULT_CLEAR9 PTC14

#define ACS PTC4
#define TX PTC6
#define PAYLOAD PTC7


void FAULTS();
void POWER(char flag);