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.

内部定时器



您好,我使能了内部定时器timer2,采用内部时钟10M,芯片为28033,采用PWM计数中断,中断间隔时间为10us  想使用内部timer2计数10us  每次进中断可以读取计数值  判断中断间隔是否为10us  我看数据手册上可以读TIM和PRD两个寄存器的值   我问一下 这个TIM和PRD读出来的值是怎么计算的?比如timer2定时器计数10us,TIM和PRD读出来的值是多少?谢谢~~