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
Presumably via the vector table in startup_MKL25Z.s, and ADC0_IRQHandler?
C:\Keil473\ARM\Boards\Freescale\FRDM-KL25Z\Blinky\startup_MKL25Z4.s
Does FreeScale have no documentation and examples?