after pin config implementation

Dependencies:   mbed-rtos mbed

Fork of BAE_FRDM by sakthi priya amirtharaj

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers HK.h Source File

HK.h

00001 #include "mbed.h"
00002 #define tstart -40
00003 #define tstep 8
00004 #define vstart 3.3
00005 #define vstep 0.84667
00006 #define cstart 0.0691
00007 #define cstep 0.09133
00008 #define rsens 0.095
00009 
00010 
00011 
00012  
00013 struct SensorData {
00014     char Voltage[10];
00015     char Current[10];
00016     char Temperature[10];
00017     char faultpoll;
00018     char faultir;
00019     char power_mode;
00020     //float Battery[2];
00021 };
00022  
00023 typedef struct ShortBeacon {
00024     char Voltage[1];
00025     char AngularSpeed[2];
00026     char SubsystemStatus[1]; 
00027     char Temp[3];  
00028     char ErrorFlag[1];
00029 }ShortBeacy;
00030 
00031  
00032 void FUNC_HK_MAIN();
00033  
00034 int quantiz(float start,float step,float x);
00035             
00036