CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

P_COM_INIT.h

Committer:
aniruddhv
Date:
2016-04-22
Revision:
169:451b54864992
Parent:
155:ca7365c03fd7
Child:
213:3d13a06bcd3a

File content as of revision 169:451b54864992:

#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);\
}