182
ABOV Semiconductor Co., Ltd.
11.7.6 10-Bit Timer 8 PWM Mode
The timer 8 has a high speed PWM (Pulse Width Modulation) function. In PWM mode, the 6-channel pins output up to
10-bit resolution PWM output. This pin should be configured as a PWM output by set PWM8E to ‘1’. When the value of
2bit +T8CNT and T8PPRH/L are identical in timer 8, a period match signal is generated and the interrupt of timer 8
occurs. In 10-bit PWM mode, A, B, C, bottom(underflow) match signal are generated when the 10-bit counter value
are identical to the value of T8xDRH/L. The period of the PWM output is determined by the T8PPRH/L (PWM period
register), T8xDRH/L (each channel PWM duty register).
PWM Period = [T8PPRH/T8PPRL ] X Source Clock
PWM Duty(A-ch) = [ T8ADRH/T8ADRL ] X Source Clock
Table 11-10 PWM Frequency vs. Resolution at 8 MHz
The POLxA bit of T8PCR3 register decides the polarity of duty cycle. If the duty value is set same to the period value,
the PWM output is determined by the bit POLxA (1: High, 0: Low). And if the duty value is set to "00H", the PWM
output is determined by the bit POLxA (1: Low, 0: High).
Table 11-11 PWM Channel Polarity