Part Number: TMS320F28069
Other Parts Discussed in Thread: MOTORWARE
Hello,
In the "motorware_hal_tutorial.pdf" there's a nice example on how to toggle a LED on timer0 interrupt, however no information is given on what parameters to change for timer1 interrupt.
I'm especially worried about PIE_enableTimer1Int(*) function. That's how it looks like for Timer0:
void PIE_enableTimer0Int(PIE_Handle pieHandle)
{
PIE_Obj *pie = (PIE_Obj *)pieHandle;
// set the value
pie->PIEIER_PIEIFR[0].IER |= PIE_IERx_INTx7_BITS;
return;
} // end of PIE_enableTimer0Int() function
But what bits to set for Timer1?
Another question regards "HAL_enableTimer0Int" function. "CPU_IntNumber_1" is used for TINT0, what about TINT1?
And then acknowledgement. Are both interrupts in PIE_GroupNumber_1 or is there a difference?