PreviousNext
setRFsleep
Help > OS functions > RF > setRFsleep

Function

 

Setting RF circuitry in power saving mode (Sleep)

Purpose

 

To put all RF circuitry in Sleep mode. Easy and efficient power management.

Syntax

 

void setRFsleep()

Parameters

 

  –

Return value

 

  –

Output values

 

     RF IC is set off.

     OS system clock (ticks) are derived from MCU internal RC oscillator instead of precise RF IC crystal.

Preconditions

 

  –

Remarks

 

     Wake-up can be caused by setRFready, RFTXpacket, RFRXpacket or checkRF

     Refer to the datasheet of the given TR module for power consumption savings.

Side effects

 

  –

See also

 

setRFready, iqrfSleep, iqrfDeepSleep, checkRF, RFTXpacket, RFRXpacket

Example

 

setRFsleep(); // Put the RF circuitry in Sleep mode