Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
P_COM_INIT.h
- Committer:
- chaithanyarss
- Date:
- 2016-12-15
- Revision:
- 327:77b281bf5a72
- Parent:
- 262:752c8689944a
- Child:
- 215:570251b23c7b
- Child:
- 319:c11a52b91d25
File content as of revision 327:77b281bf5a72:
#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);\
}
            
    