Can GPIO pin configured as an interrupt pin on LPC55S69?

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

Can GPIO pin configured as an interrupt pin on LPC55S69?

ソリューションへジャンプ
980件の閲覧回数
sushmasan
Contributor II

Hello Team,

Just wanted to check, I am using LPC55S69 microcontroller for my application.

I am using one of the GPIO pin (Example: PIO1_27) to control the soft power switch. Can I configure it as an interrupt pin?

I also noticed GINT0 (Group GPIO Input Interrupt 0) register. Can it be used for a group of GPIO pins (or) Can it be used for a single GPIO pin also?

Please let me know.

0 件の賞賛
返信
1 解決策
962件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

HI sushmasan,

There are GPIO interrupt registers which configure the pins  to generate interrupts. GPIO interrupts will require you to read the GPIO interrupt registers to see which pins caused the interrupt to occur.

Using the PINTx interrupts is going to allow faster interrupt service routines, since each has its own interrupt vector. There is PINT demo code under SDK folder. We can use it as reference.

Hope this will help you,

Jun Zhang

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
957件の閲覧回数
sushmasan
Contributor II

Hi @ZhangJennie ,

Thanks for the update. I just realized from the user manual there is a PINT support also.

0 件の賞賛
返信
963件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

HI sushmasan,

There are GPIO interrupt registers which configure the pins  to generate interrupts. GPIO interrupts will require you to read the GPIO interrupt registers to see which pins caused the interrupt to occur.

Using the PINTx interrupts is going to allow faster interrupt service routines, since each has its own interrupt vector. There is PINT demo code under SDK folder. We can use it as reference.

Hope this will help you,

Jun Zhang

0 件の賞賛
返信