Home
last modified time | relevance | path

Searched refs:event_mask (Results 1 – 13 of 13) sorted by relevance

/hal_nordic-3.4.0/nrfx/drivers/src/
Dnrfx_egu.c84 uint32_t event_mask = 0; in egu_event_mask_get_and_clear() local
94 event_mask |= (1uL << event_idx); in egu_event_mask_get_and_clear()
97 return event_mask; in egu_event_mask_get_and_clear()
175 uint32_t event_mask = egu_event_mask_get_and_clear(p_reg, int_mask); in irq_handler() local
176 while (event_mask) in irq_handler()
178 uint8_t event_idx = NRF_CTZ(event_mask); in irq_handler()
179 event_mask &= ~(1uL << event_idx); in irq_handler()
Dnrfx_rtc.c267 uint32_t event_mask = nrfy_rtc_events_process(p_reg, evt_to_process); in irq_handler() local
276 (event_mask & NRFY_EVENT_TO_INT_BITMASK(event))) in irq_handler()
284 if (event_mask & NRFY_EVENT_TO_INT_BITMASK(NRF_RTC_EVENT_TICK)) in irq_handler()
290 if (event_mask & NRFY_EVENT_TO_INT_BITMASK(NRF_RTC_EVENT_OVERFLOW)) in irq_handler()
Dnrfx_lpcomp.c55 static void lpcomp_execute_handler(nrf_lpcomp_event_t event, uint32_t event_mask) in lpcomp_execute_handler() argument
57 if (event_mask & nrfy_lpcomp_int_enable_check(NRF_LPCOMP, NRFY_EVENT_TO_INT_BITMASK(event))) in lpcomp_execute_handler()
Dnrfx_i2s.c482 uint32_t event_mask; in irq_handler() local
488 event_mask = nrfy_i2s_events_process(p_reg, in irq_handler()
494 if (event_mask & NRFY_EVENT_TO_INT_BITMASK(NRF_I2S_EVENT_TXPTRUPD)) in irq_handler()
502 if (event_mask & NRFY_EVENT_TO_INT_BITMASK(NRF_I2S_EVENT_RXPTRUPD)) in irq_handler()
511 if (event_mask & NRFY_EVENT_TO_INT_BITMASK(NRF_I2S_EVENT_STOPPED)) in irq_handler()
Dnrfx_comp.c78 static void comp_execute_handler(nrf_comp_event_t event, uint32_t event_mask) in comp_execute_handler() argument
80 if (event_mask & nrfy_comp_int_enable_check(NRF_COMP, NRFY_EVENT_TO_INT_BITMASK(event))) in comp_execute_handler()
Dnrfx_timer.c338 uint32_t event_mask = nrfy_timer_events_process(p_reg, NRF_TIMER_ALL_CHANNELS_INT_MASK); in irq_handler() local
346 (event_mask & NRFY_EVENT_TO_INT_BITMASK(event))) in irq_handler()
/hal_nordic-3.4.0/nrfx/haly/
Dnrfy_lpcomp.h304 uint32_t event_mask = 0; in __nrfy_internal_lpcomp_events_process() local
309 &event_mask); in __nrfy_internal_lpcomp_events_process()
313 &event_mask); in __nrfy_internal_lpcomp_events_process()
317 &event_mask); in __nrfy_internal_lpcomp_events_process()
321 &event_mask); in __nrfy_internal_lpcomp_events_process()
322 return event_mask; in __nrfy_internal_lpcomp_events_process()
Dnrfy_comp.h382 uint32_t event_mask = 0; in __nrfy_internal_comp_events_process() local
388 &event_mask); in __nrfy_internal_comp_events_process()
392 &event_mask); in __nrfy_internal_comp_events_process()
396 &event_mask); in __nrfy_internal_comp_events_process()
400 &event_mask); in __nrfy_internal_comp_events_process()
401 return event_mask; in __nrfy_internal_comp_events_process()
Dnrfy_qdec.h542 uint32_t event_mask = 0; in __nrfy_internal_qdec_events_process() local
548 &event_mask); in __nrfy_internal_qdec_events_process()
552 &event_mask); in __nrfy_internal_qdec_events_process()
556 &event_mask); in __nrfy_internal_qdec_events_process()
561 &event_mask); in __nrfy_internal_qdec_events_process()
567 &event_mask); in __nrfy_internal_qdec_events_process()
569 return event_mask; in __nrfy_internal_qdec_events_process()
Dnrfy_rtc.h394 uint32_t event_mask = 0; in __nrfy_internal_rtc_events_process() local
402 &event_mask); in __nrfy_internal_rtc_events_process()
405 (void)__nrfy_internal_rtc_event_handle(p_reg, mask, NRF_RTC_EVENT_TICK, &event_mask); in __nrfy_internal_rtc_events_process()
407 (void)__nrfy_internal_rtc_event_handle(p_reg, mask, NRF_RTC_EVENT_OVERFLOW, &event_mask); in __nrfy_internal_rtc_events_process()
409 return event_mask; in __nrfy_internal_rtc_events_process()
Dnrfy_i2s.h532 uint32_t event_mask = 0; in __nrfy_internal_i2s_events_process() local
537 (void)__nrfy_internal_i2s_event_handle(p_reg, mask, NRF_I2S_EVENT_FRAMESTART, &event_mask); in __nrfy_internal_i2s_events_process()
540 (void)__nrfy_internal_i2s_event_handle(p_reg, mask, NRF_I2S_EVENT_TXPTRUPD, &event_mask); in __nrfy_internal_i2s_events_process()
542 if (__nrfy_internal_i2s_event_handle(p_reg, mask, NRF_I2S_EVENT_RXPTRUPD, &event_mask) && in __nrfy_internal_i2s_events_process()
550 if (__nrfy_internal_i2s_event_handle(p_reg, mask, NRF_I2S_EVENT_STOPPED, &event_mask) && in __nrfy_internal_i2s_events_process()
557 return event_mask; in __nrfy_internal_i2s_events_process()
Dnrfy_gpiote.h392 uint32_t event_mask = 0; in __nrfy_internal_gpiote_events_process() local
400 &event_mask); in __nrfy_internal_gpiote_events_process()
403 (void)__nrfy_internal_gpiote_event_handle(p_reg, mask, NRF_GPIOTE_EVENT_PORT, &event_mask); in __nrfy_internal_gpiote_events_process()
405 return event_mask; in __nrfy_internal_gpiote_events_process()
Dnrfy_timer.h434 uint32_t event_mask = 0; in __nrfy_internal_timer_events_process() local
442 &event_mask); in __nrfy_internal_timer_events_process()
445 return event_mask; in __nrfy_internal_timer_events_process()