This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4123GXL launchpad_Lab 4

Dear Sir

 

1. I am new to Tiva series ,I am doing Lab 4 and could not understand why we use IntEnable(INT_TIMER0A) in the code. Explanation required.

2. we do  concatenate Timer_A & Timer_B in the code as one single timer of 32 bit in periodic Configuration,Can we use   IntEnable(INT_TIMER0B)  in place of   IntEnable(INT_TIMER0A) also,if No then how we can configure it for that.

Thank you

  • Hello Sajad

    The Timer have 2 sub timers. When using the timer as a true 32 bit timer, the interrupt is asserted on Timer A interrupt line, while using it in 16 bit mode each time will generate its own interrupt.

    You cannot use Timer B interrupt in 32 bit mode.

    Regards
    Amit