AnsweredAssumed Answered

Is it possible to add additional IRQ handlers?

Question asked by Tony Makkiel on Sep 21, 2016
Latest reply on Sep 27, 2016 by Mark Butcher

Hi all,

   I am experimenting with KL43Z board. In the startup_MKL43Z4.S I can see 2 gpio interrupt handler functions defined 

PORTA_IRQHandler and PORTCD_IRQHandler. If I want to add another interrupt handler for a pin in PORTB, what should I do? 

Is it as simple as

1) adding PORTB_IRQHandler in __isr_vector and then defining it at the end as

def_irq_handler    PORTB_IRQHandler at the end?

2) then update IRQn_Type with an additonal value?

 

Thanks in Advance,

Tony

Outcomes