This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

KL25Z Cortex M0+ interrupts

Hi,

I'm trying to generate an interrupt with the ADC but I just dont know how. My ADC is working well but right now im polling it.

I set the NVIC->ISER[0] =0x00000FFFF in order to make sure that interruptions are enabled. The AIEN bit is set in the ADC0->SC1[0] register.

How do I tell the compiler where to go (function to run)in case of interrupt occurs?

Any one has a example?

Jose

0