Helper layer that provides the common functionality for the inter-domain signalling (IDS) mechanisms.
More...
|
#define | NRFX_IDS_INSTANCE(id) |
| Macro for creating a IDS instance.
|
|
#define | NRFX_IDS_CHANNEL(channel) (0x1UL << (channel)) |
| Macro for creating channel bitmask associated with specified channel index.
|
|
Helper layer that provides the common functionality for the inter-domain signalling (IDS) mechanisms.
◆ NRFX_IDS_INSTANCE
#define NRFX_IDS_INSTANCE |
( |
|
id | ) |
|
Value:{ \
.int_idx = id, \
}
#define NRFX_CONCAT_3(p1, p2, p3)
Macro for concatenating three tokens in macro expansion.
Definition: nrfx_common.h:155
Macro for creating a IDS instance.
◆ nrfx_ids_event_handler_t
typedef void(* nrfx_ids_event_handler_t) (uint8_t event_idx, void *p_context) |
IDS event handler callback.
- Parameters
-
[in] | event_idx | IDS event index. |
[in] | p_context | User context. |
◆ nrfx_ids_domain_t
IDS domains.
Enumerator |
---|
NRFX_IDS_DOMAIN_SEC | Reserved. */.
|
NRFX_IDS_DOMAIN_APP | Application domain. */.
|
NRFX_IDS_DOMAIN_NET | Network domain. */.
|
NRFX_IDS_DOMAIN_SYSC | Reserved. */.
|
NRFX_IDS_DOMAIN_PPR | Peripheral Processor */.
|
NRFX_IDS_DOMAIN_FLPR | Fast Lightweight Processor */.
|
◆ nrfx_ids_init()
Symbol specifying maximum number of available events triggered.
Function for initializing the IDS instance.
- Parameters
-
[in] | p_instance | Pointer to IDS instance. |
[in] | interrupt_priority | Interrupt priority. |
[in] | event_handler | Function to be called on interrupt. |
[in] | p_context | Context passed to the event handler. |
[in] | p_config | Pointer to the structure containing peripheral-specific configuration. Can be NULL. |
- Return values
-
NRFX_SUCCESS | Driver successfully initialized. |
NRFX_ERROR_ALREADY | Driver already initialized. |
◆ nrfx_ids_int_disable()
__STATIC_INLINE void nrfx_ids_int_disable |
( |
nrfx_ids_t const * |
p_instance, |
|
|
uint32_t |
mask |
|
) |
| |
Function for disabling interrupt in the IDS instance.
- Parameters
-
[in] | p_instance | Pointer to IDS instance. |
[in] | mask | Mask of interrupts to be disabled. |
◆ nrfx_ids_int_enable()
__STATIC_INLINE void nrfx_ids_int_enable |
( |
nrfx_ids_t const * |
p_instance, |
|
|
uint32_t |
mask |
|
) |
| |
Function for enabling specified interrupts in the IDS instance.
- Parameters
-
[in] | p_instance | Pointer to IDS instance. |
[in] | mask | Mask of interrupts to be enabled. |
◆ nrfx_ids_signal()
Function for conveying the inter-domain signal to the specified domain.
- Parameters
-
[in] | p_instance | Pointer to IDS instance. |
[in] | domain | Domain to be signalled. May be NULL for peripherals that have only one connection. |
[in] | channel | Inter-domain channel for conveying the signal. |
◆ nrfx_ids_uninit()
__STATIC_INLINE void nrfx_ids_uninit |
( |
nrfx_ids_t const * |
p_instance | ) |
|
Function for uninitializing the IDS instance.
- Parameters
-
[in] | p_instance | Pointer to IDS instance. |