11章TIMER2、ccp模块.pptVIP

  • 2
  • 0
  • 约1.11万字
  • 约 50页
  • 2018-02-24 发布于河南
  • 举报
11章TIMER2、ccp模块

8.3 TIMER2 模块(TIMER2 MODULE) TIMER2概述 Timer2 is an 8-bit timer with a prescaler and a postscaler(后分频). It can be used as the PWM time base for the PWM mode of the CCP module(s). The TMR2 (地址11h)register is readable and writable and is cleared on any device Reset. 8.3.1 TIMER2的原理框图 The input clock (FOSC/4) has a prescale option of 1:1, 1:4 or 1:16, selected by control bits T2CKPS1:T2CKPS0 (T2CON1:0). The Timer2 module has an 8-bit period register, PR2. Timer2 increments from 00h until it matches PR2 and then resets to 00h on the next increment cycle. PR2 is a readable and writable reg

文档评论(0)

1亿VIP精品文档

相关文档