Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions nrf_802154/driver/src/nrf_802154_swi.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,17 @@ __WEAK void nrf_802154_request_swi_irq_handler(void)
/* Implementation provided by other module if necessary */
}

__WEAK void nrf_802154_sl_clock_swi_irq_handler(void)
{
/* Implementation provided by other module if necessary */
}

static void swi_irq_handler(void)
{
nrf_802154_trx_swi_irq_handler();
nrf_802154_notification_swi_irq_handler();
nrf_802154_request_swi_irq_handler();
nrf_802154_sl_clock_swi_irq_handler();
}

void nrf_802154_swi_init(void)
Expand Down
16 changes: 15 additions & 1 deletion nrf_802154/sl/sl/include/nrf_802154_sl_periphs.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@
#define NRF_802154_SL_EGU_TIMESTAMP_USED_CHANNELS_MASK 0U
#endif


/**
* @def NRF_802154_SL_EGU_CLOCK_CHANNEL_NO
*
* Number of the EGU channel used for HFCLK control.
*
*/
#ifndef NRF_802154_SL_EGU_CLOCK_CHANNEL_NO
#define NRF_802154_SL_EGU_CLOCK_CHANNEL_NO 5
#endif

#define NRF_802154_SL_EGU_CLOCK_USED_CHANNELS_MASK (1U << NRF_802154_SL_EGU_CLOCK_CHANNEL_NO)

/**
* @def NRF_802154_RTC_INSTANCE_NO
*
Expand Down Expand Up @@ -202,7 +215,8 @@
* Mask of fixed EGU channels used by the nRF 802.15.4 SL.
*/
#define NRF_802154_SL_EGU_USED_CHANNELS_MASK \
NRF_802154_SL_EGU_TIMESTAMP_USED_CHANNELS_MASK
NRF_802154_SL_EGU_TIMESTAMP_USED_CHANNELS_MASK | \
NRF_802154_SL_EGU_CLOCK_USED_CHANNELS_MASK

#if defined(NRF54L_SERIES)
/**
Expand Down
Loading