mac84
Newbie level 2
Hi,
I have just written a small program in CC3.3 but I need to use interrupt from timer device. I have initiated timer but I cannot obtain interrupt from it. Could you help me. I am writting my program in C.
I have found recently that I need to include vector.asm file and enable interrupts. Below I include some piece of code for allowing inturrupt onmy board.
TimerEventId0 = TIMER_getEventId(hTimer0)
IRQ_globalEnable(); //
IRQ_nmiEnable(); //enable nonmaskable interrupts
* Map TIMER events to physical interrupt number */
IRQ_map(TimerEventId0, 14); // I am using Timer0 device
I have no idea how to write vector.asm file. Has anybody used timer in DSP from TI.
I am waiting for your comments.
Michael
I have just written a small program in CC3.3 but I need to use interrupt from timer device. I have initiated timer but I cannot obtain interrupt from it. Could you help me. I am writting my program in C.
I have found recently that I need to include vector.asm file and enable interrupts. Below I include some piece of code for allowing inturrupt onmy board.
TimerEventId0 = TIMER_getEventId(hTimer0)
IRQ_globalEnable(); //
IRQ_nmiEnable(); //enable nonmaskable interrupts
* Map TIMER events to physical interrupt number */
IRQ_map(TimerEventId0, 14); // I am using Timer0 device
I have no idea how to write vector.asm file. Has anybody used timer in DSP from TI.
I am waiting for your comments.
Michael