11th feb i2c checking chaitu's code
Dependencies: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
P_COM_INIT.h
- Committer:
- chaithanyarss
- Date:
- 2017-02-10
- Revision:
- 353:890c6b98392a
- Parent:
- 319:c11a52b91d25
File content as of revision 353:890c6b98392a:
#define P_COM_INIT {\ gFLAGS = gFLAGS | COM_INIT_STATUS_FLAG;\ RF_SW_CNTRL_BCN = 1;\ Thread::wait(25);\ RF_SW_CNTRL_BCN = 0;\ gFLAGS = gFLAGS & (~RF_SW_STATUS_FLAG);/*RF_SW_STATUS_FLAG set to RF_COM_BCN*/\ COM_RX_CNTRL = 0;\ Thread::wait(200);\ COM_RX_CNTRL = 1;\ gFLAGS = gFLAGS & (~COM_INIT_STATUS_FLAG);\ }