Tool/software: Code Composer Studio
Hi,
I am working on MSP430F5659 controller, using 2 timers.
1. Timer A0 for capture the pulse high to low
2. Free running timer B - updating counter on overflow
Timer Init routine has : TBCTL = TBSSEL_2 | MC_1 | TBCLR | TBIE; // SMCLK, contmode, clear TBR // enable interrupt
I want to reset the counter values ( timer B counter value) in between to 0. I don't want to overflow the timer B and overflow interrupt as well.
Please guide me how to do this ?
Nitesh