Hi,
I'm using an imx6ull evk, in which I have implemented a button interrupt. The interrupt working perfectly. But I would like to indicate the interrupt to an application. While searching for various solutions, I found poll().
1. Whether poll() is the solutions for indication interrupt to an application?Confirm it?
2. How to implement poll(), depended variables etc?
Regards
Hi mathew_k
one can look on
embedded - Polling or Interrupt based method - Stack Overflow
application can know interrupt status polling (for example for gpio)
GPIOx_PSR register, described in sect.28.5.3 GPIO pad status register (GPIOx_PSR)
i.MX6ULL Reference Manual
https://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------