TWR-K60N512 - need accelerometer example in interrupt mode (IRQ PTD10)

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

TWR-K60N512 - need accelerometer example in interrupt mode (IRQ PTD10)

ソリューションへジャンプ
934件の閲覧回数
Magnetron
Contributor III

Hi, all.

 

I look for accelerometer example in interrupt mode.

How MQX RTOS knows to detect hardware interrupt from accelerometer (IRQ PTD10)?

 

Anybody can help me?

0 件の賞賛
返信
1 解決策
539件の閲覧回数
anthony_huereca
NXP Employee
NXP Employee

Hi Magnetron,

  You would set up that pin as an GPIO input that supports interrupts.

 

  Look in the DemoIO.c file in the K60 Quick Start Demo to see an example of how this was done with the push buttons on the board.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
540件の閲覧回数
anthony_huereca
NXP Employee
NXP Employee

Hi Magnetron,

  You would set up that pin as an GPIO input that supports interrupts.

 

  Look in the DemoIO.c file in the K60 Quick Start Demo to see an example of how this was done with the push buttons on the board.

0 件の賞賛
返信