S32K1 edge sensitive interrupt on GPIO using RTD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K1 edge sensitive interrupt on GPIO using RTD

跳至解决方案
1,868 次查看
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.

 

 

标签 (1)
标记 (1)
1 解答
1,840 次查看
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

 

 

 

 

在原帖中查看解决方案

2 回复数
1,841 次查看
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,429 次查看
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 项奖励
回复