nRF5 SDK for Thread and Zigbee v4.0.0
Functions
Clock Abstraction Layer for the 802.15.4 driver

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

Functions

void nrf_802154_clock_init (void)
 Initializes the clock driver.
 
void nrf_802154_clock_deinit (void)
 Deinitializes the clock driver.
 
void nrf_802154_clock_hfclk_start (void)
 Starts the High Frequency Clock. More...
 
void nrf_802154_clock_hfclk_stop (void)
 Stops the High Frequency Clock.
 
bool nrf_802154_clock_hfclk_is_running (void)
 Checks if the High Frequency Clock is running. More...
 
void nrf_802154_clock_lfclk_start (void)
 Starts the Low Frequency Clock. More...
 
void nrf_802154_clock_lfclk_stop (void)
 Stops the Low Frequency Clock.
 
bool nrf_802154_clock_lfclk_is_running (void)
 Checks if the Low Frequency Clock is running. More...
 
void nrf_802154_clock_hfclk_ready (void)
 Callback function executed when the High Frequency Clock is ready.
 
void nrf_802154_clock_lfclk_ready (void)
 Callback function executed when the Low Frequency Clock is ready.
 

Detailed Description

This module defines the 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 the Radio Scheduler (RSCH) to start the HF clock when entering continuous mode and to stop the HF clock after exiting the continuous mode.

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

Clock Abstraction Layer interface for the 802.15.4 driver.

Function Documentation

bool nrf_802154_clock_hfclk_is_running ( void  )

Checks if the High Frequency Clock is running.

Return values
trueHigh Frequency Clock is running.
falseHigh Frequency Clock is not running.
void nrf_802154_clock_hfclk_start ( void  )

Starts the High Frequency Clock.

This function is asynchronous, meant to request the ramp-up of the High Frequency Clock and exit. When the High Frequency Clock is ready, nrf_802154_hfclk_ready() is called.

bool nrf_802154_clock_lfclk_is_running ( void  )

Checks if the Low Frequency Clock is running.

Return values
trueLow Frequency Clock is running.
falseLow Frequency Clock is not running.
void nrf_802154_clock_lfclk_start ( void  )

Starts the Low Frequency Clock.

This function is asynchronous, meant to request the ramp-up of the Low Frequency Clock and exit. When the Low Frequency Clock is ready, nrf_802154_lfclk_ready() is called.


Documentation feedback | Developer Zone | Subscribe | Updated