i2c working with old hk

Dependencies:   mbed-rtos mbed

Fork of BAE_vr2_1_1 by green rosh

fault.h

Committer:
sakthipriya
Date:
2014-12-04
Revision:
5:255b43e8e21a
Parent:
4:8f6c24eca109
Child:
6:e65b1ab79f36

File content as of revision 5:255b43e8e21a:

#include "mbed.h"

#define FAULT1 PTB18
#define FAULT2 PTB19
#define FAULT3 D2
#define FAULT4 D3
#define FAULT5 D4
#define FAULT6 D5
#define FAULT7 D6
#define FAULT8 D7

#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 ACS PTC4
#define TX PTC6
#define PAYLOAD PTC7


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