things are working
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_DEC_2016_jan by
Diff: Flags.h
- Revision:
- 1:ad3b8a8032e2
diff -r bcbd76c86cde -r ad3b8a8032e2 Flags.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Flags.h Thu Jan 21 14:46:28 2016 +0000 @@ -0,0 +1,41 @@ +/*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*/ + + + \ No newline at end of file