Home
last modified time | relevance | path

Searched refs:periph_name (Results 1 – 12 of 12) sorted by relevance

/hal_nordic-3.6.0/nrfx/drivers/
Dnrfx_common.h217 #define NRFX_FEATURE_PRESENT(periph_name, feature_name) \ argument
219 _NRFX_FEATURE_PRESENT(periph_name, feature_name, 256), \
220 _NRFX_FEATURE_PRESENT(NRFX_CONCAT(periph_name, 0), feature_name, 100), \
221 _NRFX_FEATURE_PRESENT(NRFX_CONCAT(periph_name, 00), feature_name, 10) \
243 #define NRFX_FOREACH_ENABLED(periph_name, macro, sep, off_code, ...) \ argument
245 off_code, periph_name, , macro, __VA_ARGS__) NRFX_DEBRACKET sep \
247 off_code, periph_name, 0, macro, __VA_ARGS__) NRFX_DEBRACKET sep \
249 off_code, periph_name, 00, macro, __VA_ARGS__)
269 #define NRFX_FOREACH_PRESENT(periph_name, macro, sep, off_code, ...) \ argument
271 off_code, periph_name, , macro, __VA_ARGS__) NRFX_DEBRACKET sep \
[all …]
Dnrfx_utils_internal.h124 #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_COND_CODE_1(NRFX_INSTANCE_PRESENT(NRFX_CONCAT(periph_name, prefix, i)), \
[all …]
/hal_nordic-3.6.0/nrfx/soc/interconnect/ipct/
Dnrfx_interconnect_ipct_haltium_global.h88 #define _NRFX_IPCT_CHANNELS_ENTRY(periph_name, prefix, inst_num, _) \ argument
112 #define _NRFX_INTERCONNECT_IPCT_GLOBAL_IPCT_PROP_ENTRY(periph_name, prefix, inst_num, _) \ argument
Dnrfx_interconnect_ipct.c69 #define _IPCT_STRUCT_ELEM(periph_name, prefix, inst_num, _) \ argument
/hal_nordic-3.6.0/nrfx/hal/
Dnrf_gpio.h47 #define GPIO_PORT_NUM(periph_name, prefix, i, _) i, argument
48 #define GPIO_REG(periph_name, prefix, i, _) NRFX_CONCAT(NRF_, periph_name, prefix, i), argument
49 #define GPIO_NUM_OF_PINS(periph_name, prefix, i, _) \ argument
50 NRFX_CONCAT(periph_name, prefix, i, _PIN_NUM)
74 #define NRF_INTERNAL_GPIO_PORT_EXTRACT_1(periph_name, prefix, i, port) \ argument
76 port = NRFX_CONCAT(NRF_, periph_name, prefix, i); \
92 #define NRF_INTERNAL_GPIO_PORT_MASK_SET_1(periph_name, prefix, i, mask) \ argument
94 mask = NRFX_CONCAT(periph_name, prefix, i, _FEATURE_PINS_PRESENT); \
Dnrf_spim.h51 #define _NRF_SPIM_PRESCALER_MAX_GET(periph_name, prefix, idx, p_reg) \ argument
52 (p_reg == NRFX_CONCAT(NRF_, periph_name, prefix, idx)) ? \
53 (NRFX_CONCAT(periph_name, prefix, idx, _PRESCALER_DIVISOR_RANGE_MAX)) :
59 #define _NRF_SPIM_PRESCALER_MIN_GET(periph_name, prefix, idx, p_reg) \ argument
60 (p_reg == NRFX_CONCAT(NRF_, periph_name, prefix, idx)) ? \
61 (NRFX_CONCAT(periph_name, prefix, idx, _PRESCALER_DIVISOR_RANGE_MIN)) :
/hal_nordic-3.6.0/nrfx/soc/interconnect/apb/
Dnrfx_interconnect_apb_haltium_global.h89 #define _NRFX_DPPI_CHANNELS_ENTRY(periph_name, prefix, inst_num, _) \ argument
Dnrfx_interconnect_apb.c68 #define _APB_STRUCT_ELEM(periph_name, prefix, inst_num, _) \ argument
/hal_nordic-3.6.0/nrfx/drivers/src/
Dnrfx_spis.c53 #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))
Dnrfx_twim.c81 #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))
Dnrfx_gpiote.c168 #define GPIOTE_PORT_INDEX(periph_name, prefix, i, _) i, argument
234 #define _NRFX_GPIOTE_CB_INITIALIZER(periph_name, prefix, idx, _) \ argument
235 [NRFX_CONCAT(NRFX_, periph_name, idx, _INST_IDX)] = { \
236 .channels_number = NRFX_CONCAT_3(periph_name, idx, _CH_NUM), \
238 .available_gpio_ports = NRFX_CONCAT_3(periph_name, idx, _AVAILABLE_GPIO_PORTS), \
Dnrfx_uarte.c51 #define UARTEX_LENGTH_VALIDATE(periph_name, prefix, i, drv_inst_idx, len1, len2) \ argument
52 (((drv_inst_idx) == NRFX_CONCAT(NRFX_, periph_name, prefix, i, _INST_IDX)) && \
53 NRFX_EASYDMA_LENGTH_VALIDATE(NRFX_CONCAT(periph_name, prefix, i), len1, len2))