Home
last modified time | relevance | path

Searched refs:NRF_TIMER2 (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/soc/arm/nordic_nrf/
Dtiming.c15 #define CYCLES_PER_SEC (16000000 / (1 << NRF_TIMER2->PRESCALER))
19 NRF_TIMER2->TASKS_CLEAR = 1; /* Clear Timer */ in soc_timing_init()
20 NRF_TIMER2->MODE = 0; /* Timer Mode */ in soc_timing_init()
21 NRF_TIMER2->PRESCALER = 0; /* 16M Hz */ in soc_timing_init()
23 NRF_TIMER2->BITMODE = 0; /* 16 - bit */ in soc_timing_init()
25 NRF_TIMER2->BITMODE = 3; /* 32 - bit */ in soc_timing_init()
31 NRF_TIMER2->TASKS_START = 1; in soc_timing_start()
36 NRF_TIMER2->TASKS_STOP = 1; /* Stop Timer */ in soc_timing_stop()
41 NRF_TIMER2->TASKS_CAPTURE[0] = 1; in soc_timing_counter_get()
42 return NRF_TIMER2->CC[0] * ((SystemCoreClock) / CYCLES_PER_SEC); in soc_timing_counter_get()
Dvalidate_base_addresses.c188 CHECK_DT_REG(timer2, NRF_TIMER2);
/Zephyr-Core-3.5.0/modules/hal_nordic/nrfx/
Dnrfx_config_nrf91.h48 #define NRF_TIMER2 NRF_PERIPH(NRF_TIMER2) macro
Dnrfx_config_nrf5340_application.h61 #define NRF_TIMER2 NRF_PERIPH(NRF_TIMER2) macro
Dnrfx_config_nrf5340_network.h52 #define NRF_TIMER2 NRF_TIMER2_NS macro