GP连续增计数模式 (Used for Asymmetric PWM Waveforms This example: TXCON3-2=00(下溢时 TXCMPR重载) TXPR=3 TXCMPR=1(initially) 无延迟计数 Prescale= 1 ◆计数值=TxPR+1 CPU writes a 2 to compare reg. buffer anytime here TxCMPR=2 3 TXCNT Reg TXPWMTXCMP (active high) cruck几几几几几几GP 连续增计数模式 This example: TxCON.3-2 = 00 (下溢时 TxCMPR重载) TxPR = 3 TxCMPR = 1 (initially) Prescale = 1 0 3 0 1 2 3 1 CPUCLK TxCNT Reg. 3 0 CPU writes a 2 to compare reg. buffer anytime here TxCMPR=2 TxPWM/TxCMP (active high) (Used for Asymmetric PWM Waveforms) 无延迟计数 计数值= TxPR+1