Hi
I am working on a project with s32k142 and have a question about gpio interrupt
i do the following:
set IRQC as EITHER edge
read ISF to see if the interrupt is happed
the question is:
how can i distinguish if it war a falling oder raising edge?
Thanks a lot
Baoyuan Gong
Solved! Go to Solution.
Hi Baoyuan,
You can check the logic level of the corresponding pin in the Port Data Input Register (PDIR).
I hope it helps you.
Best regards,
Diana
Hi Baoyuan,
You can check the logic level of the corresponding pin in the Port Data Input Register (PDIR).
I hope it helps you.
Best regards,
Diana