SoC support in SoftDevice Handler

nRF5 SDK v15.0.0

This file contains the declarations of types and functions required for SoftDevice Handler SoC support. More...

Data Structures

struct nrf_sdh_soc_evt_observer_t
SoC event observer. More...

Macros

#define NRF_SDH_SOC_OBSERVER (_name, _prio, _handler, _context)
Macro for registering nrf_sdh_soc_evt_observer_t . Modules that want to be notified about SoC events must register the handler using this macro. More...
#define NRF_SDH_SOC_EVENT_OBSERVERS (_name, _prio, _handler, _context, _cnt)
Macro for registering an array of nrf_sdh_soc_evt_observer_t . Modules that want to be notified about SoC events must register the handler using this macro. More...

Typedefs

typedef void(* nrf_sdh_soc_evt_handler_t )(uint32_t evt_id, void *p_context)
SoC event handler.

Detailed Description

This file contains the declarations of types and functions required for SoftDevice Handler SoC support.

Macro Definition Documentation

#define NRF_SDH_SOC_EVENT_OBSERVERS ( _name,
_prio,
_handler,
_context,
_cnt
)

Macro for registering an array of nrf_sdh_soc_evt_observer_t . Modules that want to be notified about SoC events must register the handler using this macro.

Each observer's handler will be dispatched an event with its relative context from _context . This macro places the observer in a section named "sdh_soc_observers".

Parameters
[in] _name Observer name.
[in] _prio Priority of the observer event handler. The smaller the number, the higher the priority.
[in] _handler SoC event handler.
[in] _context An array of parameters to the event handler.
[in] _cnt Number of observers to register.
#define NRF_SDH_SOC_OBSERVER ( _name,
_prio,
_handler,
_context
)

Macro for registering nrf_sdh_soc_evt_observer_t . Modules that want to be notified about SoC events must register the handler using this macro.

This macro places the observer in a section named "sdh_soc_observers".

Parameters
[in] _name Observer name.
[in] _prio Priority of the observer event handler. The smaller the number, the higher the priority.
[in] _handler SoC event handler.
[in] _context Parameter to the event handler.