S32K1 edge sensitive interrupt on GPIO using RTD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K1 edge sensitive interrupt on GPIO using RTD

Jump to solution
1,509 Views
hns80
Contributor V

Is there a way to use the peripheral or pin perspective to enable a rising or falling edge interrupt on a GPIO using the low level driver (not the mcal)?

If not, is there an RTD function call that can do it, or does this need to be done by directly writing the pin control register? I searched the RTDs and didn't see anything that did it.

 

 

Labels (1)
Tags (1)
1 Solution
1,481 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Jeff,

In Port_Ci_Port_Ip.c of Port_Ip

danielmartynek_2-1649323747801.png

there are functions for reading and writing the PCR registers.

danielmartynek_0-1649323448158.png

danielmartynek_1-1649323480836.png

 

Regards,

Daniel

 

 

 

 

View solution in original post

2 Replies
1,482 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Jeff,

In Port_Ci_Port_Ip.c of Port_Ip

danielmartynek_2-1649323747801.png

there are functions for reading and writing the PCR registers.

danielmartynek_0-1649323448158.png

danielmartynek_1-1649323480836.png

 

Regards,

Daniel

 

 

 

 

1,070 Views
hns80
Contributor V

Unfortunately, this stopped working after RTD version 4.4.1.0.0 (D2108).

Is there a way to create an edge sensitive GPIO interrupt with the RTDs on newer releases?

 

0 Kudos