/hal_nordic-3.4.0/nrfx/drivers/ |
D | nrfx_common.h | 216 #define NRFX_FEATURE_PRESENT(periph_name, feature_name) \ argument 218 _NRFX_FEATURE_PRESENT(periph_name, feature_name, 256), \ 219 _NRFX_FEATURE_PRESENT(NRFX_CONCAT(periph_name, 0), feature_name, 100), \ 220 _NRFX_FEATURE_PRESENT(NRFX_CONCAT(periph_name, 00), feature_name, 10) \ 242 #define NRFX_FOREACH_ENABLED(periph_name, macro, sep, off_code, ...) \ argument 244 off_code, periph_name, , macro, __VA_ARGS__) NRFX_DEBRACKET sep \ 246 off_code, periph_name, 0, macro, __VA_ARGS__) NRFX_DEBRACKET sep \ 248 off_code, periph_name, 00, macro, __VA_ARGS__) 268 #define NRFX_FOREACH_PRESENT(periph_name, macro, sep, off_code, ...) \ argument 270 off_code, periph_name, , macro, __VA_ARGS__) NRFX_DEBRACKET sep \ [all …]
|
D | nrfx_utils_internal.h | 124 #define _NRFX_EVAL_IF_ENABLED(i, off_code, periph_name, prefix, macro, ...) \ argument 125 NRFX_COND_CODE_1(NRFX_CONCAT(NRFX_, periph_name, prefix, i, _ENABLED), \ 126 (macro(periph_name, prefix, i, __VA_ARGS__)), \ 145 #define _NRFX_EVAL_IF_PRESENT(i, off_code, periph_name, prefix, macro, ...) \ argument 146 NRFX_COND_CODE_1(NRFX_INSTANCE_PRESENT(NRFX_CONCAT(periph_name, prefix, i)), \ 147 (macro(periph_name, prefix, i, __VA_ARGS__)), \ 151 #define _NRFX_INST_ENUM(periph_name, prefix, i, _) \ argument 152 NRFX_CONCAT(NRFX_, periph_name, prefix, i, _INST_IDX), 163 #define _NRFX_IRQ_HANDLER(periph_name, prefix, i, periph_name_small) \ argument 166 irq_handler(NRFX_CONCAT(NRF_, periph_name, prefix, i), \ [all …]
|
/hal_nordic-3.4.0/nrfx/drivers/src/ |
D | nrfx_spis.c | 53 #define SPISX_LENGTH_VALIDATE(periph_name, prefix, i, drv_inst_idx, rx_len, tx_len) \ argument 54 (((drv_inst_idx) == NRFX_CONCAT(NRFX_, periph_name, prefix, i, _INST_IDX)) && \ 55 NRFX_EASYDMA_LENGTH_VALIDATE(NRFX_CONCAT(periph_name, prefix, i), rx_len, tx_len))
|
D | nrfx_uarte.c | 53 #define UARTEX_LENGTH_VALIDATE(periph_name, prefix, i, drv_inst_idx, len1, len2) \ argument 54 (((drv_inst_idx) == NRFX_CONCAT(NRFX_, periph_name, prefix, i, _INST_IDX)) && \ 55 NRFX_EASYDMA_LENGTH_VALIDATE(NRFX_CONCAT(periph_name, prefix, i), len1, len2))
|
D | nrfx_twim.c | 81 #define TWIMX_LENGTH_VALIDATE(periph_name, prefix, i, drv_inst_idx, len1, len2) \ argument 82 (((drv_inst_idx) == NRFX_CONCAT(NRFX_, periph_name, prefix, i, _INST_IDX)) && \ 83 NRFX_EASYDMA_LENGTH_VALIDATE(NRFX_CONCAT(periph_name, prefix, i), len1, len2))
|
/hal_nordic-3.4.0/nrfx/hal/ |
D | nrf_gpio.h | 73 #define NRF_INTERNAL_GPIO_PORT_EXTRACT_1(periph_name, prefix, i, port) \ argument 75 port = NRFX_CONCAT(NRF_, periph_name, prefix, i); \ 91 #define NRF_INTERNAL_GPIO_PORT_MASK_SET_1(periph_name, prefix, i, mask) \ argument 93 mask = NRFX_CONCAT(periph_name, prefix, i, _FEATURE_PINS_PRESENT); \
|