Hi,
Where can I find details about the fields in hwiParams?
c.f.:
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var hwiParams = new Hwi.Params;
hwiParams.arg = 5;
Program.global.hwi0 = Hwi.create(id, '&hwiFunc', hwiParams);
In the SYS/BIOS User's guide, the fields are not described and sometimes they are set to 5 or 12.
Also, it is unclear if "id" should be set to the interrupt number (e.g. interrupt 54 on MSP430F5529 for the ADC12).
Also, is Program.global.hwi0= Hwi.create needed or only Hwi.create. Some example show the use of Program.global.
Finally, thhe hwi0 name, can this be a random name? In some example the name matches the interrupt number.
Thanks.
Hans.