sakthi priya amirtharaj / Mbed 2 deprecated CDMS_BAE

Dependencies:   SDFileSystem mbed-rtos mbed

Fork of CDMS_RTOS by Pradeep Kotipalli

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers hk.h Source File

hk.h

00001 #include "mbed.h"
00002 #include "SDFileSystem.h"
00003 #include "string.h"
00004 /*
00005 typedef struct SensorData {
00006     char Voltage[8];
00007     char Current[4];
00008     char Temperature;
00009     char PanelTemperature[2];         //HK Data Structure
00010     char Vcell_soc;
00011     char alerts;
00012     char crate;
00013     char BatteryTemperature;      
00014     char faultpoll;             
00015     char faultir;              
00016     char power_mode;           
00017     char AngularSpeed[2];
00018     char Bnewvalue[2];
00019 } SensorData;*/
00020 
00021 void spiwrite(int);
00022 int spiread(int);
00023 int hexint(int);
00024 char* getname(int,int,int,int,int,int,int);
00025 void storedata(char*);
00026 void init_rtc(void);