Hello guys,i have a question for my project im using the msp430g2231 microcontroller and i want to measure frequencies up to 10Mhz.Im new to microcontrollers(not programming),and im not sure how to make the overflow work
void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // stop watchdog timer
BCSCTL1 = CALBC1_1MHZ; // Set range
DCOCTL = CALDCO_1MHZ; // Set DCO step + modulation
delay(100); // delay 100mS until next screen refresh
/*** Timer_A Set-Up ***/
TA0CCR0 = SampleTuneTime;
TA0CCTL0 |= CCIE; // Interrupt enable