Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: CCS/MSP430F5659: How to clear free running Timer B in between

$
0
0
Part Number: MSP430F5659 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

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>