cdms b4 check
Dependencies: SDFileSystem mbed-rtos mbed
Fork of CDMS_BAE_1 by
hk.h@10:f9d11e047bb1, 2015-03-11 (annotated)
- Committer:
- sakthipriya
- Date:
- Wed Mar 11 15:58:24 2015 +0000
- Revision:
- 10:f9d11e047bb1
- Parent:
- 7:60e940b7a36b
cdms b4 check
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pradeepvk2208 | 6:ee97f01e6b7d | 1 | #include "mbed.h" |
pradeepvk2208 | 6:ee97f01e6b7d | 2 | #include "SDFileSystem.h" |
pradeepvk2208 | 6:ee97f01e6b7d | 3 | #include "string.h" |
sakthipriya | 7:60e940b7a36b | 4 | /* |
pradeepvk2208 | 6:ee97f01e6b7d | 5 | typedef struct SensorData { |
pradeepvk2208 | 6:ee97f01e6b7d | 6 | char Voltage[8]; |
pradeepvk2208 | 6:ee97f01e6b7d | 7 | char Current[4]; |
pradeepvk2208 | 6:ee97f01e6b7d | 8 | char Temperature; |
pradeepvk2208 | 6:ee97f01e6b7d | 9 | char PanelTemperature[2]; //HK Data Structure |
pradeepvk2208 | 6:ee97f01e6b7d | 10 | char Vcell_soc; |
pradeepvk2208 | 6:ee97f01e6b7d | 11 | char alerts; |
pradeepvk2208 | 6:ee97f01e6b7d | 12 | char crate; |
pradeepvk2208 | 6:ee97f01e6b7d | 13 | char BatteryTemperature; |
pradeepvk2208 | 6:ee97f01e6b7d | 14 | char faultpoll; |
pradeepvk2208 | 6:ee97f01e6b7d | 15 | char faultir; |
pradeepvk2208 | 6:ee97f01e6b7d | 16 | char power_mode; |
pradeepvk2208 | 6:ee97f01e6b7d | 17 | char AngularSpeed[2]; |
pradeepvk2208 | 6:ee97f01e6b7d | 18 | char Bnewvalue[2]; |
sakthipriya | 7:60e940b7a36b | 19 | } SensorData;*/ |
pradeepvk2208 | 6:ee97f01e6b7d | 20 | |
pradeepvk2208 | 6:ee97f01e6b7d | 21 | void spiwrite(int); |
pradeepvk2208 | 6:ee97f01e6b7d | 22 | int spiread(int); |
pradeepvk2208 | 6:ee97f01e6b7d | 23 | int hexint(int); |
pradeepvk2208 | 6:ee97f01e6b7d | 24 | char* getname(int,int,int,int,int,int,int); |
sakthipriya | 7:60e940b7a36b | 25 | void storedata(char*); |
pradeepvk2208 | 6:ee97f01e6b7d | 26 | void init_rtc(void); |