LPC11U68 interrupts for buttons

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11U68 interrupts for buttons

1,436 Views
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 Kudos
Reply
4 Replies

1,378 Views
Guy_mego
Contributor II

Thanks a lot for the help.

0 Kudos
Reply

1,429 Views
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 Kudos
Reply

1,416 Views
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 Kudos
Reply

1,383 Views
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 Kudos
Reply