S32K1 edge sensitive interrupt on GPIO using RTD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K1 edge sensitive interrupt on GPIO using RTD

ソリューションへジャンプ
1,642件の閲覧回数
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,614件の閲覧回数
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,615件の閲覧回数
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,203件の閲覧回数
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 件の賞賛
返信