开了STM8S103K3 的TIM4中断,总是进不去。在定时器4的控制寄存器里面进行了中断使能,使用的是溢出中断。不知道还有没有总的中断使能的要求? 程序是用汇编写的,中断向量表如下:segment 'vectit'
DC.L {$82000000+main}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000+PORTC}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000+TIMER1}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000}
DC.L {$82000000+TIMER4}
DC.L {$82000000}
END |