Structures and macros for handling GPPI routes in multi-domain DPPI system.
More...
Structures and macros for handling GPPI routes in multi-domain DPPI system.
◆ NRFX_GPPI_DPPI_NODE_DEFINE
| #define NRFX_GPPI_DPPI_NODE_DEFINE |
( |
| _id, |
|
|
| _domain_id ) |
Value:[NRFX_GPPI_NODE_DPPIC##_id] = { \
.type = NRFX_GPPI_NODE_DPPI, \
.domain_id = _domain_id, \
.dppi = { \
.p_channels = &channels[NRFX_GPPI_NODE_DPPIC##_id], \
.p_group_channels = &group_channels[NRFX_GPPI_NODE_DPPIC##_id], \
)) \
.p_reg = NRF_DPPIC##_id \
} \
}
#define NRFX_GPPI_CONFIG_EXT_ALLOCATOR
Enable external PPI connection allocator.
Definition nrfx_gppi_dox_config.h:12
Macro for defining a DPPI node.
- Parameters
-
| _id | Node ID. |
| _domain_id | Domain ID. |
◆ NRFX_GPPI_PPIB_NODE_DEFINE
| #define NRFX_GPPI_PPIB_NODE_DEFINE |
( |
| _id1, |
|
|
| _id2 ) |
Value:[NRFX_GPPI_NODE_PPIB##_id1##_##_id2] = { \
.type = NRFX_GPPI_NODE_PPIB, \
.domain_id = NRFX_GPPI_NODE_PPIB##_id1##_##_id2, \
.ppib = { \
.p_channels = &channels[NRFX_GPPI_NODE_PPIB##_id1##_##_id2], \
.p_reg = {NRF_PPIB##_id1, NRF_PPIB##_id2} \
} \
)) \
}
Macro for defining a PPIB node.
- Parameters
-
| _id1 | PPIB ID of the first PPIB. |
| _id2 | PPIB ID of the second PPIB. |
◆ NRFX_GPPI_ROUTE_DEFINE
| #define NRFX_GPPI_ROUTE_DEFINE |
( |
| _name, |
|
|
| _nodes ) |
Value:{ \
}
#define NRFX_NUM_VA_ARGS_LESS_1(...)
Macro for calculating number of arguments in the variable arguments list minus one.
Definition nrfx_utils.h:761
Node structure.
Definition nrfx_gppi_routes.h:89
Macro for creating a route.
- Parameters
-
| _name | Route name. |
| _nodes | List of nodes in parenthesis. |