This file contains the declarations of types and functions required for SoftDevice Handler SoC support.
More...
This file contains the declarations of types and functions required for SoftDevice Handler SoC support.
#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. |