Reconfiguring Callback Function During the Runtime

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

Reconfiguring Callback Function During the Runtime

1,134 Views
justsomeonelse
Contributor I

Hi all,

I am trying to reconfigure the PINT callback function during the run time for the LPC55.

In some cases, callbackA should be called and in other cases, callbackB function should be executed. During the run time I want to disable callbackA and enable callbackB for the same PINT callback. Is it possible?

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

1,031 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

How about put the CallbackB function inside CallbackA, add some condition code to run or not run CallbackB.

 

BR

Alice

0 Kudos
Reply