AnsweredAssumed Answered

IRQ with processor expert

Question asked by 燕琳 赵 on Feb 21, 2019

Hello expert,

My requirement is that : when pin2 of Port B input 0, then a gpio interrupt will be triggered. I do the configuration as following fig:

I do not understand where can I set the IRQ callback function? the following codes are used for the whole pins of Port B, but I only want to pin2 of Port B to trigger interrupt, other pins of Port B are ignored. How can I do to set the pin2 of port B interrupt?

So I met the problem : how can I generate  a gpio interrupt of one pin with processor expert of S32DS Could you help me again? Thank you very much!

Outcomes