Gerasin Ivan

How to use interrupts on kinetis?

Discussion created by Gerasin Ivan on Feb 8, 2013
Latest reply on Oct 9, 2018 by Mark Butcher

Hi all!

I'm trying to understand how to use interrupts (k60), but unsucsessful

So, i want to use RTC interupt. and i should use "enable_irq(66)", but what should i include? And how to handle this INT, i mean, where can i write code, that will be execute on this INT?

So, questions is:


1)What headers should i include

2)How to enable INT?

3)Where is body of INT function?


Thx for help!