Contiki-NG
Loading...
Searching...
No Matches
nrf_802154_platform_irq.c File Reference

IRQ abstraction layer for nrf_802154 on the nRF5340 network core. More...

#include "platform/nrf_802154_irq.h"
#include "nrf_802154_config.h"
#include "nrf.h"
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Detailed Description

IRQ abstraction layer for nrf_802154 on the nRF5340 network core.

The 802.15.4 driver uses two interrupts: RADIO and an EGU (SWI). On the network core these are RADIO_IRQn and EGU0_IRQn (the library default NRF_802154_EGU_INSTANCE_NO is 0). The registered ISRs are dispatched from the NVIC handlers defined here. With the direct (non-SWI) notification/request implementation selected in the project config, the EGU ISR is normally never registered, but the handler is provided for completeness.

The legacy nrf-ieee-driver-arch.c (which also defines RADIO_IRQHandler) must be filtered out of the net-core build.

Definition in file nrf_802154_platform_irq.c.