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