publishing to check changes in cdms code

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE_samp_23SEP_DMA_flag by samp Srinivasan

P_COM_INIT.h

Committer:
chaithanyarss
Date:
2016-07-03
Revision:
216:93505a6f8db7
Parent:
215:570251b23c7b

File content as of revision 216:93505a6f8db7:

#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;\
    COM_RX_CNTRL = 0;\
    Thread::wait(200);\
    COM_RX_CNTRL = 1;\
    gFLAGS = gFLAGS & (~COM_INIT_STATUS_FLAG);\
}