Function |
|
Wake RF circuitry up |
Purpose |
|
To wake RF circuitry up in advance for faster response, easy and efficient power management and precise ticks. |
Syntax |
|
void setRFready() |
Parameters |
|
– |
Return value |
|
– |
Output values |
|
• RF IC is set on (the RF ready mode) but the RX chain still stays off (unlike the RX mode). See IQRF OS User’s guide, RF IC modes. • RF IC crystal oscillator starts up. • OS system clock (tick) is based on the precise RF IC crystal oscillator instead of the MCU internal RC one. However, the MCU system clock always stays derived from the internal RC oscillator. |
Preconditions |
|
– |
Remarks |
|
• After the RF wake-up the RX chain can be set on faster which enables faster checkRF, RFRXpacket, or RFTXpacket. • Execution takes approx. 75 ms. |
Side effects |
|
– |
See also |
|
setRFsleep, iqrfSleep, iqrfDeepSleep, checkRF, RFTXpacket, RFRXpacket |
Example |
|
setRFready(); // Wake the RF circuitry up from RF sleep in advance ... RFTXpacket(); // for immediate response |