Home
last modified time | relevance | path

Searched refs:int_mask (Results 1 – 8 of 8) sorted by relevance

/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_rtc.c143 uint32_t int_mask = RTC_CHANNEL_INT_MASK(channel); in nrfx_rtc_cc_disable() local
146 nrf_rtc_event_disable(p_instance->p_reg, int_mask); in nrfx_rtc_cc_disable()
149 nrf_rtc_int_disable(p_instance->p_reg, int_mask); in nrfx_rtc_cc_disable()
177 uint32_t int_mask = RTC_CHANNEL_INT_MASK(channel); in nrfx_rtc_cc_set() local
180 nrf_rtc_event_disable(p_instance->p_reg, int_mask); in nrfx_rtc_cc_set()
181 nrf_rtc_int_disable(p_instance->p_reg, int_mask); in nrfx_rtc_cc_set()
210 nrf_rtc_int_enable(p_instance->p_reg, int_mask); in nrfx_rtc_cc_set()
212 nrf_rtc_event_enable(p_instance->p_reg,int_mask); in nrfx_rtc_cc_set()
292 nrf_rtc_event_disable(p_reg, int_mask); in irq_handler()
293 nrf_rtc_int_disable(p_reg, int_mask); in irq_handler()
[all …]
A Dnrfx_twim.c121 volatile uint32_t int_mask; member
264 p_cb->int_mask = 0; in nrfx_twim_init()
340 p_cb->int_mask = 0; in nrfx_twim_disable()
398 nrf_twim_int_enable(p_twim, p_cb->int_mask); in twim_xfer()
461 p_cb->int_mask = NRF_TWIM_INT_STOPPED_MASK; in twim_xfer()
481 p_cb->int_mask = NRF_TWIM_INT_STOPPED_MASK; in twim_xfer()
499 p_cb->int_mask = 0; in twim_xfer()
508 p_cb->int_mask |= NRF_TWIM_INT_ERROR_MASK; in twim_xfer()
509 nrf_twim_int_enable(p_twim, p_cb->int_mask); in twim_xfer()
722 p_cb->int_mask = 0; in twim_irq_handler()
[all …]
A Dnrfx_egu.c75 static uint32_t egu_event_mask_get_and_clear(NRF_EGU_Type * p_reg, uint32_t int_mask) in egu_event_mask_get_and_clear() argument
78 while (int_mask) in egu_event_mask_get_and_clear()
80 uint8_t event_idx = __CLZ(__RBIT(int_mask)); in egu_event_mask_get_and_clear()
81 int_mask &= ~(1uL << event_idx); in egu_event_mask_get_and_clear()
160 uint32_t int_mask = nrf_egu_int_enable_check(p_reg, ~0uL); in egu_irq_handler() local
164 uint32_t event_mask = egu_event_mask_get_and_clear(p_reg, int_mask); in egu_irq_handler()
A Dnrfx_qdec.c130 uint32_t int_mask = NRF_QDEC_INT_ACCOF_MASK; in nrfx_qdec_init() local
135 int_mask |= NRF_QDEC_INT_REPORTRDY_MASK; in nrfx_qdec_init()
140 int_mask |= NRF_QDEC_INT_SAMPLERDY_MASK; in nrfx_qdec_init()
143 nrf_qdec_int_enable(NRF_QDEC, int_mask); in nrfx_qdec_init()
A Dnrfx_pwm.c224 uint32_t int_mask = NRF_PWM_INT_LOOPSDONE_MASK | in start_playback() local
234 int_mask |= NRF_PWM_INT_SEQEND0_MASK | NRF_PWM_INT_SEQEND1_MASK; in start_playback()
238 int_mask |= NRF_PWM_INT_SEQEND0_MASK; in start_playback()
242 int_mask |= NRF_PWM_INT_SEQEND1_MASK; in start_playback()
247 int_mask &= ~NRF_PWM_INT_LOOPSDONE_MASK; in start_playback()
250 nrf_pwm_int_set(p_instance->p_registers, int_mask); in start_playback()
A Dnrfx_twi.c97 volatile uint32_t int_mask; member
197 p_cb->int_mask = 0; in nrfx_twi_init()
451 p_cb->int_mask = NRF_TWI_INT_STOPPED_MASK | in twi_tx_start_transfer()
456 nrf_twi_int_enable(p_twi, p_cb->int_mask); in twi_tx_start_transfer()
525 p_cb->int_mask = NRF_TWI_INT_STOPPED_MASK | in twi_rx_start_transfer()
529 nrf_twi_int_enable(p_twi, p_cb->int_mask); in twi_rx_start_transfer()
586 nrf_twi_int_enable(p_twi, p_cb->int_mask); in twi_xfer()
A Dnrfx_saadc.c618 uint32_t int_mask = nrf_saadc_limit_int_get(channel, NRF_SAADC_LIMIT_LOW); in nrfx_saadc_limits_set() local
622 nrf_saadc_int_disable(NRF_SAADC, int_mask); in nrfx_saadc_limits_set()
627 nrf_saadc_int_enable(NRF_SAADC, int_mask); in nrfx_saadc_limits_set()
630 int_mask = nrf_saadc_limit_int_get(channel, NRF_SAADC_LIMIT_HIGH); in nrfx_saadc_limits_set()
634 nrf_saadc_int_disable(NRF_SAADC, int_mask); in nrfx_saadc_limits_set()
639 nrf_saadc_int_enable(NRF_SAADC, int_mask); in nrfx_saadc_limits_set()
A Dnrfx_timer.c285 nrf_timer_int_mask_t int_mask = nrf_timer_compare_int_get(i); in irq_handler() local
288 nrf_timer_int_enable_check(p_reg, int_mask)) in irq_handler()

Completed in 12 milliseconds