Poll() function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Poll() function

835件の閲覧回数
mathew_k_t
Contributor II

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

ラベル(3)
0 件の賞賛
返信
1 返信

726件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信