15#ifndef NRF_SDH_SOC_H__
16#define NRF_SDH_SOC_H__
19#include <bm/softdevice_handler/nrf_sdh.h>
20#include <zephyr/sys/iterable_sections.h>
54#define NRF_SDH_SOC_OBSERVER(_observer, _handler, _ctx, _prio) \
55 PRIO_LEVEL_IS_VALID(_prio); \
56 static const TYPE_SECTION_ITERABLE(struct nrf_sdh_soc_evt_observer, _observer, \
57 nrf_sdh_soc_evt_observers, PRIO_LEVEL_ORD(_prio)) = { \
58 .handler = _handler, \
void(* nrf_sdh_soc_evt_handler_t)(uint32_t evt_id, void *context)
SoftDevice SoC event handler.
Definition nrf_sdh_soc.h:29
const char * nrf_sdh_soc_evt_to_str(uint32_t evt)
Stringify a SoftDevice SoC event.
nrf_sdh_soc_evt_handler_t handler
SoC event handler.
Definition nrf_sdh_soc.h:38
void * context
A parameter to the event handler.
Definition nrf_sdh_soc.h:42
SoftDevice SoC event observer.
Definition nrf_sdh_soc.h:34