GP连续增/减计数模式 (Used for Symmetric PWM Waveforms) This example TXCON.3-2=01(=00/PR reg TxPR=3 ◆无延迟增减 TXCMPR=l(initially) Prescale= 1 增减计数周期is2*TxPR TxCMPR=1 TXCMPR =2 TXCMPR=1 3 PR reg 3\PRreg 2 2 00 TXCNT Res 0 0 TXPWMTXCMP (active high) CPUCLK∏几几几∏几几GP 连续增/减计数模式 CPUCLK 0 1 2 3 TxCNT Reg. 2 1 0 1 2 0 3 2 1 TxPWM/TxCMP (active high) This example: TxCON.3-2 = 01 (==00/PR.reg) TxPR = 3 TxCMPR = 1 (initially) Prescale = 1 (Used for Symmetric PWM Waveforms) 无延迟增减 增减计数周期is 2*TxPR TxCMPR =1 TxCMPR =2 TxCMPR =1 00 PR.reg 00 PR.reg