How to setup a pin as interrupt source and then call user defined callback function?

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

How to setup a pin as interrupt source and then call user defined callback function?

638 Views
misterbee
Contributor II

I am using LPC 54113 MCU. I want to use the config tool. Suppose I have a pin PIO0_1 initially at high. When it goes low, I want it to raise interrupt and then call my defined callback function say my_callback().

How can I achieve this? How should I do the configuration?

Labels (1)
0 Kudos
Reply
1 Reply

616 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

I suggest downloading the SDK of the LPCxpresso54114 and reviewing the example lpcxpresso54114_pint_pin_interrupt then you can port it to your target.

Best regards,
Pavel

0 Kudos
Reply