Home
last modified time | relevance | path

Searched refs:nbr (Results 1 – 3 of 3) sorted by relevance

/nrf_hw_models-3.6.0/src/nrfx/hal/
Dnrf_hack.c27 #define PERIPHERAL_REG_BASE(per, nbr, post) \ argument
28 (void*)NRF_##per##nbr##post##_BASE
30 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument
31 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \
32 ((intptr_t)p < (intptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type))
68 #define IF_PER(per, nbr, post, lname) \ in nrf_dppi_hack_get_task_from_ptr() argument
69 if (IS_PERIPHERAL_REG(task_reg, per, nbr, post)) { \ in nrf_dppi_hack_get_task_from_ptr()
70 *p_reg = PERIPHERAL_REG_BASE(per, nbr, post); \ in nrf_dppi_hack_get_task_from_ptr()
/nrf_hw_models-3.6.0/src/nrfx/drivers/
Dnrfx_common.c12 #define PERIPHERAL_REG_BASE(per, nbr, post) \ argument
13 (void*)NRF_##per##nbr##post##_BASE
15 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument
16 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \
17 ((intptr_t)p < (intptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type))
/nrf_hw_models-3.6.0/src/HW_models/
DNHW_EGU.c114 static inline void nhw_egu_check_inst_event(uint egu_inst, uint nbr, const char *type) in nhw_egu_check_inst_event() argument
116 if ((egu_inst >= NHW_EGU_TOTAL_INST) || (nbr >= nhw_egu_st[egu_inst].n_events) ) { in nhw_egu_check_inst_event()
118 type, nbr, nhw_egu_st[egu_inst].n_events, egu_inst); in nhw_egu_check_inst_event()