AnsweredAssumed Answered

[PN7462AU] GPIO interrupt

Question asked by Haje Lee on May 7, 2020
Latest reply on May 26, 2020 by Kan_Li

Good day,

 

I'm a engineer using PN7462AU. I am developing an NFC communication program. 

My question is very similar to this question. But there's no answer on that page.

※ URL : PN7462 GPIO Interrupts 

 

I want to use GPIO as an interrupt source. When I receive the GPIO signal, I want to call the callback function.

There are API about GPIO. But I can't find API about setting GPIO callback function.

 

Question 1) Is there an API to set GPIO callback function?

 - For example, using GPIO1, how to setting dwPcrIRQMessage?

 - Should I use phhalPcr_RegCallBack ()?


Question 2) How to use GPIO as an interrupt source?

 

 

Below is the setup details,

1. Hardware: PN7462AU
2. SDK: PN7462AU-FW_v05.21.00
3. IDE: MCUXpresso IDE v11.0.0

 

If anyone knows the answer to your question, please reply.

If you have any question, please feel free to contact me.

 

Thanks.

Outcomes