Part Number: TMS320C6678
Tool/software: TI-RTOS
Hi all,
if I create a HW interrupt as follow:
Hwi_Params hwiParams;
Hwi_Handle myHwi;
Error_Block eb;
/* initialize error block and hwiParams to default values */
Error_init(&eb);
Hwi_Params_init(&hwiParams);
hwiParams.arg = 10;
hwiParams.enableInt = FALSE;
myHwi = Hwi_create(5, myIsr, &hwiParms, &eb);
if (myHwi == NULL)
{
System_abort("Hwi create failed");
}
and, next time, I provide to register another function to raise the same interrupt number like:
Hwi_Params hwiParams;
Hwi_Handle myHwi;
Error_Block eb;
/* initialize error block and hwiParams to default values */
Error_init(&eb);
Hwi_Params_init(&hwiParams);
hwiParams.arg = 10;
hwiParams.enableInt = FALSE;
myHwi = Hwi_create(5, myIsr2, &hwiParms, &eb);
if (myHwi == NULL)
{
System_abort("Hwi create failed");
}
which is the function that raise the interrupt? Both myIsr and myIsr2 or only the myIsr2?
Thanks to everyone.