Part Number: LAUNCHXL-CC1312R1
Hi
I have setup and I am using timer1 in Sensor Controller Studio, I have also setup timer0 in CCS code, but I cant open timer0, fails on Timer_open(CONFIG_TIMER_0, &timparams); below
Timer_Params_init(&timparams);
timparams.period = 1000000;
timparams.periodUnits = Timer_PERIOD_US;
timparams.timerMode = Timer_CONTINUOUS_CALLBACK;
timparams.timerCallback = timerCallback;
timer0 = Timer_open(CONFIG_TIMER_0, &timparams);
if (timer0 == NULL) {
/* Failed to initialized timer */
while (1) {}
}
Regards
David