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

Forum Post: RE: Msp430g2553 ADC clock division

$
0
0
HI Caleb ' Thanks a lot . your answer is appreciated . I have anther question about the timer clock . the code i use as follows CCTL0 = CCIE; // CCR0 interrupt enabled CCR0 = 80 ; TACTL = TASSEL_2 + MC_1; // SMCLK, upmode _BIS_SR(LPM0_bits + GIE); // Enter LPM0 w/ interrupt #pragma vector=TIMER0_A0_VECTOR __interrupt void timerA0ISR(void) { read_signal(); } Is that code correct as i am using the timer interrupt every 80 cycle to excite the function( read_signal) thanks in advance .

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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