我用的是MSP430G2553目前正在学习阶段,我想问的是那个计数器当计数溢出时,溢出标志位需要软件清零吗?
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.
430G2553 它的计数器和430f169一样,,只是计数器个数,,IO口数不一样多,,用法上一样但请注意在写定时器中断服务程序上有区别(本人是在CSS下和iar下测试,,两个编译器下不一样,,
iar
#pragma vector=TIMERA0_VECTOR
__interrupt void Timer_A(void)
)
css下那样写会报错,下面写法没报错
#pragma vector=TIMER0_A0_VECTOR
__interrupt void Timer_A(void)