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: SimpleDMA eeprom mbed-rtos mbed FreescaleIAP
Fork of CDMS_CODE by
P_COM_INIT.h@353:e1803e801e20, 2017-02-21 (annotated)
- Committer:
- samp1234
- Date:
- Tue Feb 21 06:30:56 2017 +0000
- Revision:
- 353:e1803e801e20
- Parent:
- 319:c11a52b91d25
with all final changes
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ee12b079 | 209:63e9c8f8b5d2 | 1 | #define P_COM_INIT {\ |
| ee12b079 | 209:63e9c8f8b5d2 | 2 | gFLAGS = gFLAGS | COM_INIT_STATUS_FLAG;\ |
| ee12b079 | 209:63e9c8f8b5d2 | 3 | RF_SW_CNTRL_BCN = 1;\ |
| ee12b079 | 209:63e9c8f8b5d2 | 4 | Thread::wait(25);\ |
| ee12b079 | 209:63e9c8f8b5d2 | 5 | RF_SW_CNTRL_BCN = 0;\ |
| ee12b079 | 319:c11a52b91d25 | 6 | gFLAGS = gFLAGS & (~RF_SW_STATUS_FLAG);/*RF_SW_STATUS_FLAG set to RF_COM_BCN*/\ |
| aniruddhv | 262:752c8689944a | 7 | COM_RX_CNTRL = 0;\ |
| ee12b079 | 209:63e9c8f8b5d2 | 8 | Thread::wait(200);\ |
| ee12b079 | 209:63e9c8f8b5d2 | 9 | COM_RX_CNTRL = 1;\ |
| ee12b079 | 209:63e9c8f8b5d2 | 10 | gFLAGS = gFLAGS & (~COM_INIT_STATUS_FLAG);\ |
| ee12b079 | 209:63e9c8f8b5d2 | 11 | } |
