Home
last modified time | relevance | path

Searched refs:irq (Results 1 – 3 of 3) sorted by relevance

/nrf_hw_models-3.4.0/src/HW_models/
Dirq_ctrl.c84 void hw_irq_ctrl_prio_set(unsigned int irq, unsigned int prio) in hw_irq_ctrl_prio_set() argument
86 irq_prio[irq] = prio; in hw_irq_ctrl_prio_set()
89 uint8_t hw_irq_ctrl_get_prio(unsigned int irq) in hw_irq_ctrl_get_prio() argument
91 return irq_prio[irq]; in hw_irq_ctrl_get_prio()
164 void hw_irq_ctrl_disable_irq(unsigned int irq) in hw_irq_ctrl_disable_irq() argument
166 irq_mask &= ~((uint64_t)1<<irq); in hw_irq_ctrl_disable_irq()
169 int hw_irq_ctrl_is_irq_enabled(unsigned int irq) in hw_irq_ctrl_is_irq_enabled() argument
171 return (irq_mask & ((uint64_t)1 << irq))?1:0; in hw_irq_ctrl_is_irq_enabled()
188 void hw_irq_ctrl_clear_irq(unsigned int irq) in hw_irq_ctrl_clear_irq() argument
190 irq_status &= ~((uint64_t)1<<irq); in hw_irq_ctrl_clear_irq()
[all …]
Dirq_ctrl.h18 void hw_irq_ctrl_raise_im(uint32_t irq);
21 void hw_irq_ctrl_clear_irq(unsigned int irq);
22 void hw_irq_ctrl_reeval_level_irq(unsigned int irq);
25 void hw_irq_ctrl_enable_irq(unsigned int irq);
26 void hw_irq_ctrl_disable_irq(unsigned int irq);
27 int hw_irq_ctrl_is_irq_enabled(unsigned int irq);
29 void hw_irq_ctrl_set_irq(unsigned int irq);
30 void hw_irq_ctrl_raise_level_irq_line(unsigned int irq);
31 void hw_irq_ctrl_lower_level_irq_line(unsigned int irq);
32 void hw_irq_ctrl_raise_im(unsigned int irq);
[all …]
DNRF_TIMER.c396 int irq = TIMER0_IRQn; in nrf_hw_model_timer_timer_triggered() local
399 irq = TIMER0_IRQn; in nrf_hw_model_timer_timer_triggered()
402 irq = TIMER1_IRQn; in nrf_hw_model_timer_timer_triggered()
405 irq = TIMER2_IRQn; in nrf_hw_model_timer_timer_triggered()
408 irq = TIMER3_IRQn; in nrf_hw_model_timer_timer_triggered()
411 irq = TIMER4_IRQn; in nrf_hw_model_timer_timer_triggered()
419 hw_irq_ctrl_set_irq(irq); in nrf_hw_model_timer_timer_triggered()