things are working

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of CDMS_DEC_2016_jan by Team Fox

Flags.h

Committer:
cholletisaik777
Date:
2016-01-23
Revision:
4:560716ec8414
Parent:
1:ad3b8a8032e2

File content as of revision 4:560716ec8414:

/*HK*/
#define HK_INIT_STATUS 0X01
#define HK_MAIN_STATUS 0X02
#define HK_BAE_DISBLED 0X04
#define HK_BAE_ERR_I2C 0X08
/*End*/

/*PL_MAIN*/
#define PL_MAIN_STATUS 0x00
#define PL_LOW_POWER 0x01
#define PL_OFF 0x02
#define PL_ERR_I2C 0x04
#define PL_STANDBY 0x08
#define PL_HIBERNATE 0x10
#define PL_SCIENCE 0x20
#define PL_INVALID_STATE 0x40
/*End*/


/*PL_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
/*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 TM_STATUS                                 0x0000000000000100
#define TX_TM_ERROR                               0x0000000000000200 
/*End*/