LPC11U68 interrupts for buttons

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

LPC11U68 interrupts for buttons

1,453件の閲覧回数
Guy_mego
Contributor II

Hi All,

I defined my buttons as GPIOs, I want to get an interrupt when button is being pressed. 
I can't find how to connect a GPIO to an interrupt.

I work on LPC11U68 board.

Does any one how  should i connect  my button that i will get an interrupt what its state is changed?
released -> pressed -> released.

Thanks in advance.

Best Regards,
Guy.

 

0 件の賞賛
返信
4 返答(返信)

1,395件の閲覧回数
Guy_mego
Contributor II

Thanks a lot for the help.

0 件の賞賛
返信

1,446件の閲覧回数
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

I would recommend you to use the LPCOpen libraries available in this link. You will find several examples to help you with your development.

I hope this helps, Daniel.

0 件の賞賛
返信

1,433件の閲覧回数
Guy_mego
Contributor II

Hi,
I checked the examples and didn't find a solutions that assist me with my issue.
I also trying to search an answer in the forum but didn't find any. 
I know how to work with interrupt but as I said, I don't know to connect a GPIO to an interrupt.

 

0 件の賞賛
返信

1,400件の閲覧回数
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

I would recommend you to use as a reference any LPCOpen example that implements interrupts to see how an interrupt is enabled.

I also recommend you to take a look to chapter 3, 7, 8 and 9 of the User Manual.

I hope this helps, Daniel.

0 件の賞賛
返信