Searched refs:post (Results 1 – 2 of 2) sorted by relevance
/nrf_hw_models-3.7.0/src/nrfx/hal/ |
D | nrf_hack.c | 53 #define PERIPHERAL_REG_BASE(per, nbr, post) \ argument 54 (void*)NRF_##per##nbr##post##_BASE 56 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument 57 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \ 58 ((intptr_t)p < (intptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type)) 95 #define IF_PER(per, nbr, post, lname) \ in nrf_dppi_hack_get_task_from_ptr() argument 96 if (IS_PERIPHERAL_REG(task_reg, per, nbr, post)) { \ in nrf_dppi_hack_get_task_from_ptr() 97 *p_reg = PERIPHERAL_REG_BASE(per, nbr, post); \ in nrf_dppi_hack_get_task_from_ptr()
|
/nrf_hw_models-3.7.0/src/nrfx/drivers/ |
D | nrfx_common.c | 12 #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))
|