![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
CDMS_CODE_samp_23SEP_DMA_flag
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA by
Diff: DefinitionsAndGlobals.h
- Revision:
- 126:b7c024b5632d
- Parent:
- 114:9fb55057b13f
- Child:
- 129:47ed605a459d
- Child:
- 130:d5b53088270b
diff -r a3b95a9c16ef -r b7c024b5632d DefinitionsAndGlobals.h --- a/DefinitionsAndGlobals.h Mon Feb 08 14:24:08 2016 +0000 +++ b/DefinitionsAndGlobals.h Wed Feb 10 17:01:26 2016 +0000 @@ -1,6 +1,6 @@ // **************DEFINITIONS********************* -#define bypass_adf 0 +#define bypass_adf 1 // COM_RX #define RX_TIMEOUT_LIMIT 0.5 @@ -24,6 +24,10 @@ // ADF INTERRUPUT #define ADF_IRQ PTA14 + +//I2C - Payload to CDMS (need to change while using CDMS hardware) +I2C master (D7,D6); +InterruptIn PYLD_I2C_Int(PTA13); // TC LIST #define TCL_STATE_INCOMPLETE 0x00 @@ -173,4 +177,8 @@ CDMS_HK_actual actual_data; CDMS_HK_quant quant_data; CDMS_HK_min_max min_max_data; -bool firstCount=true; \ No newline at end of file +bool firstCount=true; + +//I2C thread +Thread* ptr_t_pyldtm = NULL; +