vr1.1

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of CDMS_RTOS_v1_1 by Team Fox

Flags.h

Committer:
cholletisaik777
Date:
2015-07-06
Revision:
13:ba5dca9e18d8
Parent:
12:cb3ee1ac3638

File content as of revision 13:ba5dca9e18d8:

/*HK*/
#define HK_INIT_STATUS              0X0000000000000001
#define HK_MAIN_STATUS              0X0000000000000002
#define HK_BAE_DISBLED              0X0000000000000004
#define HK_BAE_ERR_I2C              0X0000000000000008
/*End*/

/*PL*/
#define PL_MAIN_STATUS              0x0000000000000010
#define PL_LOW_POWER                0x0000000000000020
#define PL_OFF                      0x0000000000000040
#define PL_ERR_I2C                  0x0000000000000080
#define PL_STANDBY                  0x0000000000000100
#define PL_HIBERNATE                0x0000000000000200
#define PL_SCIENCE                  0x0000000000000400
#define PL_INVALID_STATE            0x0000000000000800
/*End*/

/*CDMS INIT*/
#define CDMS_INIT_STATUS            0x0000000000001000
/*End*/

/*SDCard*/
#define SDCARD_INIT_STATUS          0x0000000000000010
#define SDCARD_INIT_FAIL            0x0000000000000020
#define SDCARD_DISK_FAIL            0x0000000000000040
#define SD_WR_STATUS                0x0000000000000080
#define SD_GET_BLOCK_FAIL           0x0000000000000100
#define SD_WR_FAIL                  0x0000000000000200
#define SD_RD_STATUS                0x0000000000000400
#define SD_RD_FAIL                  0x0000000000000800      
/*End*/

/*SCIENCE*/
#define PL_SCIENCE_STATUS                         0x0000000000000001
#define PL_FRAME_SIZE_CORRECT                     0x0000000000000002
#define TIME_ELAPSED_LAST_SRP_INTERVAL_HIGH       0x0000000000000008
#define TIME_ELAPSED_LAST_SRP_INTERVAL_LOW        0x0000000000000010
#define IS_PL_FRAME_SIZE_CORRECT                  0x0000000000000010
#define IS_FIRST_TIME_SC_DATA                     0x0000000000000010 
#define PL_STATE                                  0x0000000000000001
#define IS_PL_SCHEDULE                            0x0000000000000002
#define PL_PREV_STATE                             0x0000000000000004 
#define IS_I2C_ACK                                0x0000000000000008 
#define PL_STATUS                                 0x0000000000000010
/*End*/

/*TC_TM*/
#define CDMS_TC_TM_STATUS                         0x0000000000000001
#define BAE_TC_STATUS                             0x0000000000000002
#define PL_TC_STATUS                              0x0000000000000004 
#define CDMS_TC_STATUS                            0x0000000000000008 
#define TC_I2C_BAE_STATUS                         0x0000000000000010
#define TC_I2C_PL_STATUS                          0x0000000000000020
#define TC_BAE_I2C_ERR                            0x0000000000000040
#define TC_PL_I2C_ERR                             0x0000000000000080   
#define TX_TM_STATUS                              0x0000000000000100
#define TX_TM_ERROR                               0x0000000000000200 
/*End*/