Hello,
I have few question about how to configure MSP430F5419A with SYS/bios for HWI.
I used Port1 interrupt and configure in .cfg file as below.
and for eventId and priority i have used number given in datasheet of MSP430f5419 page 14 at Interrupt Vector Addresses table..
I.E. for I/O Port P1 it is 47..so i set priority and Event id to 47.. Is this correct?
var hwi0Params = new Hwi.Params();
hwi0Params.instance.name = "port1_int";
hwi0Params.eventId = 47;
hwi0Params.priority = 47;
Program.global.port1_int = Hwi.create(47, "&P1_ISR", hwi0Params);
my code for this looks like above for configuration and is working fine.. it gives interrupt when signal at a pin at port 1 changes its level...
And should i use the same method to write ISR for all UART and ADCs?
Thanks in advance,
Sunil