Other Parts Discussed in Thread: TMS320F2812
hi,
am using TMS320F2812 with XDS 100 USB Emulator, i learn to program with the help TI Teaching CD-ROM, i successfully programmed using CPU TIMER0 by the following Method:
interrupt void Cpu_Timer0_isr(void);
void main
{
............;
..........................;
InitCpuTimers();
PieVectTable.TINT0 = &Cpu_Timer0_isr;
PieCtrlRegs.PIEIER1.bit.INTx7 = 1;
IER = 0x0001;
................................;
................;
}
void Cpu_Timer0_isr()
{
....................;
................................................;
CpuTimer0Regs.TCR.bit.TIF = 1;
PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;
}
now my question is : Timer0 is connected with PIE unit hence we using in above method. But Timer1 is not connected with PIE Unit, so i dont know how to use & how can i use . ? please i need some sample program using CPU TIMER1..........or tell about how to use ?
Many Thanks,