Hello,
with this line"timerParams.hwiParams = &hwiParams;" I got an error:
#515 a value of type "ti_sysbios_family_arm_a8_intcps_Hwi_Params *" cannot be assigned to an
entity of type "ti_sysbios_hal_Hwi_Params *"
hal/Hwi.h is included in /dmtimer/Timer.h ( ti_sysbios_hal_Hwi_Params* hwiParams; ) and not the specified arm/a8/intcps/Hwi.h
my code:
Timer_Handle timer3;
timerParams.instance->name = "timer3";
timerParams.period = 1200;
// HWI *********************************************
UInt intNum;
Hwi_Params hwiParams;
intNum = 69;
Hwi_Params_init(&hwiParams);
hwiParams.arg = 1;
hwiParams.priority = 0;
hwiParams.enableInt = true;
timerParams.hwiParams = &hwiParams;
TimerFuncPointer = timer3isr;
timer3 = Timer_create(1,TimerFuncPointer,&timerParams,&eb);
If i include this line:
#include <ti/sysbios/hal/hwi.h>
I got a lot of warnings "redefinition 0f macros xyz" because they are declared in /sysbios/family/arm/a8/intcps/Hwi.h