nRF5 SDK for Thread and Zigbee v3.2.0
Functions
Clock Abstraction Layer for the 802.15.4 driver

This module defines Clock Abstraction Layer for the 802.15.4 driver. More...

Functions

void nrf_802154_clock_init (void)
 Initialize the clock driver.
 
void nrf_802154_clock_deinit (void)
 Deinitialize the clock driver.
 
void nrf_802154_clock_hfclk_start (void)
 Start High Frequency Clock. More...
 
void nrf_802154_clock_hfclk_stop (void)
 Stop High Frequency Clock.
 
bool nrf_802154_clock_hfclk_is_running (void)
 Check if High Frequency Clock is running. More...
 
void nrf_802154_clock_lfclk_start (void)
 Start Low Frequency Clock. More...
 
void nrf_802154_clock_lfclk_stop (void)
 Stop Low Frequency Clock.
 
bool nrf_802154_clock_lfclk_is_running (void)
 Check if Low Frequency Clock is running. More...
 
void nrf_802154_clock_hfclk_ready (void)
 Callback executed when High Frequency Clock is ready.
 
void nrf_802154_clock_lfclk_ready (void)
 Callback executed when Low Frequency Clock is ready.
 

Detailed Description

This module defines Clock Abstraction Layer for the 802.15.4 driver.

Clock Abstraction Layer can be used by other modules to start and stop nRF52840 clocks.

It is used by Radio Arbiter clients (RAAL) to start HF clock when entering continuous mode and stop HF clock after continuous mode exit.

It is used by standalone Low Power Timer Abstraction Layer implementation to start LF clock during initialization.

Clock Abstraction Layer interface for the 802.15.4 driver.

Function Documentation

bool nrf_802154_clock_hfclk_is_running ( void  )

Check if High Frequency Clock is running.

Return values
trueIf High Frequency Clock is running.
falseIf High Frequency Clock is not running.
void nrf_802154_clock_hfclk_start ( void  )

Start High Frequency Clock.

This function is asynchronous. It should request ramping up of HF clock and exit. When HF clock is ready

See also
nrf_802154_hfclk_ready() should be called.
bool nrf_802154_clock_lfclk_is_running ( void  )

Check if Low Frequency Clock is running.

Return values
trueIf Low Frequency Clock is running.
falseIf Low Frequency Clock is not running.
void nrf_802154_clock_lfclk_start ( void  )

Start Low Frequency Clock.

This function is asynchronous. It should request ramping up of LF clock and exit. When LF clock is ready

See also
nrf_802154_lfclk_ready() should be called.

Documentation feedback | Developer Zone | Subscribe | Updated