![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
vr1.1
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_RTOS_v1_1 by
HK_MAIN.h
- Committer:
- pradeepvk2208
- Date:
- 2015-07-04
- Revision:
- 9:7ff6d75cc09e
- Parent:
- 8:607ae92fa6af
- Child:
- 11:d6dc9074075b
File content as of revision 9:7ff6d75cc09e:
/*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 hk_i2c_data[25]; int hk_count = 0; uint8_t hk_data[512]; uint8_t rtc_data[8]; uint64_t hk_block_number = 1; /*End*/