Hi.
I wonder if anyone knows the answer to this question about Event Combiner and Hwis.
Why in the majority of the examples do we see:
EventCombiner_dispatchPlus(eventId, someFunction, someParam, aBool);
EventCombiner_enableEvent(eventId);
Hwi_eventMap(8, eventId);
Hwi_enableInterrupt(8);
And yet in nimu_eth.c in PDK 1.0.0.11 NDK Transport driver, we see
EventCombiner_dispatchPlus(eventId, someFunction, someParam, aBool);
EventCombiner_enableEvent(eventId);
Hwi_eventMap(7, eventId >> 5);
Hwi_enableInterrupt(7);
Why is the event ID right shifted by 5 (divide by 32) in this instance and not the others? It seems to work (as far as I can tell). Is it something to do with HWI 7 as opposed to HWI 8?