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.

5438A 定时器输出秒信号



  TA0CCR0 = 32767;

  TA0CTL = TASSEL_1 + MC_1 + TACLR;

  TA0CCTL0 = CCIE;  

请问上面这样配置有没有问题啊? 1秒一次的定时

#pragma vector=TIMER0_A0_VECTOR

__interrupt void TIMER0_A0_ISR(void)

{

;

}