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

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

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

989件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
1 返信

967件の閲覧回数
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 件の賞賛
返信