timera专题

MSP430F149的TIMERA定时中断理解

代码如下: //本平台 msp430f149#include <io430.h>#include <in430.h>volatile unsigned char count = 0,flag = 0;void select_xt2(void){unsigned char i;/*------选择系统主时钟为8MHz-------*/BCSCTL1 &= ~XT2OFF;