Searched refs:TIMER_INSTANCE (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.7.0/tests/boards/nrf52_bsim/egu/src/ |
D | main.c | 17 #define TIMER_INSTANCE NRFX_CONCAT_2(NRF_TIMER, TIMER_NO) macro 222 nrf_timer_event_clear(TIMER_INSTANCE, NRF_TIMER_EVENT_COMPARE0); in timer_isr() 223 nrf_timer_int_disable(TIMER_INSTANCE, TIMER_INT); in timer_isr() 234 nrf_timer_event_clear(TIMER_INSTANCE, NRF_TIMER_EVENT_COMPARE0); in ZTEST() 235 nrf_timer_task_trigger(TIMER_INSTANCE, NRF_TIMER_TASK_STOP); in ZTEST() 236 nrf_timer_task_trigger(TIMER_INSTANCE, NRF_TIMER_TASK_CLEAR); in ZTEST() 242 nrf_timer_mode_set(TIMER_INSTANCE, NRF_TIMER_MODE_TIMER); in ZTEST() 243 nrf_timer_bit_width_set(TIMER_INSTANCE, TIMER_BITMODE_BITMODE_16Bit); in ZTEST() 244 nrf_timer_prescaler_set(TIMER_INSTANCE, in ZTEST() 246 NRF_TIMER_BASE_FREQUENCY_GET(TIMER_INSTANCE), in ZTEST() [all …]
|