Searched refs:per (Results 1 – 4 of 4) sorted by relevance
/nrf_hw_models-latest/src/nrfx/hal/ |
D | nrf_hack.c | 71 #define PERIPHERAL_REG_BASE(per, nbr, post) \ argument 72 (void*)NRF_##per##nbr##post##_BASE 74 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument 75 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \ 76 ((uintptr_t)p < (uintptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type)) 118 #define IF_PER(per, nbr, post, lname) \ in nrf_hack_get_task_from_ptr() argument 119 if (IS_PERIPHERAL_REG(task_reg, per, nbr, post)) { \ in nrf_hack_get_task_from_ptr() 120 *p_reg = PERIPHERAL_REG_BASE(per, nbr, post); \ in nrf_hack_get_task_from_ptr() 127 #define IF_PER(per, nbr, post, lname) \ in nrf_hack_get_task_from_ptr() 128 if (IS_PERIPHERAL_REG(task_reg, per, nbr, post)) { \ in nrf_hack_get_task_from_ptr() [all …]
|
/nrf_hw_models-latest/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 ((uintptr_t)p < (uintptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type))
|
/nrf_hw_models-latest/docs/ |
D | UART.md | 21 When enabled, the model will dump one line in this file per byte, with two columns:
|
D | README_HW_models.md | 128 The actual HW models of the SOC peripherals are normally split in one file per peripheral.
|