This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can I Hwi Function be changed on the fly?

Is it possible within a Hwi function to change the ISR function associated with the Hwi_handle ? i.e.

If I initialize like this...

Hwi_Handle hwiMyHwi;

Hwi_Params_init(&hwiMyHwiParams);
hwiMyHwiParams.arg = 1;            // num entries into hwiMyHwiFxn isr
hwiMyHwi= Hwi_create(80,hwiMyHwiFxn, &hwiMyHwiParams,NULL);

Within hwiMyHwiFxn() can I change the function that is called on the next initiation of the interrupt? Something on the order of ...

hwiMyHwi.__fxns = hwiMyNewFxn;  // I know this isn't correct.

Regards,

Scott