vr1.1

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of CDMS_RTOS_v1_1 by Team Fox

Revision:
8:607ae92fa6af
Child:
9:7ff6d75cc09e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HK_MAIN.h	Sat Jul 04 08:56:34 2015 +0000
@@ -0,0 +1,18 @@
+/*Hash define parameters*/
+#define HK_DATA 25 //Total Hk data that is to be stored in SD card
+#define HK_ITER 5  //The iterations after which the HK data will be stored in the SD card 
+/*End*/
+
+/*Delclaring extern objects*/
+extern I2C master;
+extern DigitalOut irpt_2_slv;
+extern SPISlave pl_spi ; // mosi, miso, sclk, ssel --> using SPI1
+/*End*/
+
+/*Declaring global variables*/
+char i2c_data[25];
+int hk_count = 0;
+uint8_t hk_data[512];
+uint8_t rtc_data[8];
+uint64_t hk_block_number = 1;
+/*End*/