Hi,
I have an ADC ready shared-interrupt, sharing between gpio-keys and an adc driver.
Once the ADC ready interrupt occurs I would like to execute the gpio-keys ISR first, then the ADC driver ISR.
Currently, it happens vice versa. ie: ADC driver first and GPIO-Keys second. So, I'm facing some timing issues.
Regards,
i.MX6 processor uses PL390 Generic Interrupt Controller (GIC).
Here you can get PrimeCell Generic Interrupt Controller(PL390) Technical Reference Manual:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0416b/DDI0416B_gic_pl390_r0p0_trm.pdf
You can refer chapter 3.2.9 Priority Level Registers.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------