Other Parts Discussed in Thread: SYSBIOS
Hello,
I am trying to determine whether to use a Gernal Hwi or a Hardware Specific Hwi.
I notice the following differences between General Hwis and Device Specific Hwis:
1. General Hwis allow the specification of an Interrupt Priority and Device Specific Hwis don't
2. Device Specific Hwis allow the specification of an Interrupt Disable and Restore Mask and General Hwis don't.
Does this mean:
1. You should use Device Specific Hwis if you want to allow nesting?
2. You should use General Hwis if you don't care about interrupt nesting and you want to override hardware interrupt priority?
Also, is there any difference between timing benchmarks between General and Hardware specific Hwis?
In addition, should the Restore Mask be 0xFFFF if you want to reenable all interrupts after returning from a Hwi?
Thanks
Stephen