Lines Matching refs:vector
45 void rt_hw_interrupt_mask(int vector) in rt_hw_interrupt_mask() argument
47 if (vector < 0 || vector >= MAX_HANDLERS) in rt_hw_interrupt_mask()
57 void rt_hw_interrupt_umask(int vector) in rt_hw_interrupt_umask() argument
59 if (vector < 0 || vector >= MAX_HANDLERS) in rt_hw_interrupt_umask()
63 ICR = vector; in rt_hw_interrupt_umask()
64 IER |= vector; in rt_hw_interrupt_umask()
76 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
81 if (vector < MAX_HANDLERS && vector >= 0) in rt_hw_interrupt_install()
83 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
88 rt_strncpy(isr_table[vector].name, name, RT_NAME_MAX); in rt_hw_interrupt_install()
90 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
91 isr_table[vector].param = param; in rt_hw_interrupt_install()
98 void rt_hw_interrupt_clear(int vector) in rt_hw_interrupt_clear() argument
100 if (vector < 0 || vector >= MAX_HANDLERS) in rt_hw_interrupt_clear()