English
Language : 

Z51F0410 Datasheet, PDF (89/184 Pages) Zilog, Inc. – Z8051 Series 8-Bit Microcontrollers
Z51F0410
Product Specification
T0CR
T1CR
T0EN T0PE CAP0 T0CK2 T0CK1 T0CK0 T0CN T0ST
1
X
1
X
X
X
X
X
ADDRESS
:
C6H
INITIAL VALUE : 0000_0000B
POL 16BIT PWM1E CAP1 T1CK1 T1CK0 T1CN T1ST
X
1
0
1
1
1
X
X
ADDRESS
:
CAH
INITIAL VALUE : 0000_0000B
EC0
fx
INT0
÷2
P
r
÷4
e
s
c
÷16
÷64
MUX
a
÷256
l
e
÷1024
r
÷4096
T0CN
3
T0CK[2:0]
EIEDGE.0
T0ST
16-bit Counter
[B6H:B3H]
T1(8Bit) MSB
T0(8Bit) LSB
Clear
Clear
Timer0
Interrupt
T0IF
Comparator
CDR1(8Bit)
+CDR0(8BIT)
T1DR(8Bit)
+T0DR(8Bit)
[B6H:B3H] 16-bit Data Register
[B5H:B3H]
INT0IF
INT0
Interrupt
4.5.1.6 PWM Mode
Figure 4.13 16-bit Capture Mode of Timer 0, 1
The timer 1 has a PWM (Pulse Width Modulation) function. In PWM mode, the T1/PWM1 output pin
outputs up to 10-bit resolution PWM output. This pin should be configured as a PWM output by set
T1_PE to ‘1’. The period of the PWM output is determined by the T1PPR (PWM period register) +
T1PWHR[3:2] + T1PWHR[1:0]
PWM Period = [ T1PWHR[3:2]T1PPR ] X Source Clock
PWM Duty = [ T1PWHR[1:0] T1PDR ] X Source Clock
Table 4.6 PWM Frequency vs. Resolution at 8 Mhz
Resolution
10 Bit
9 Bit
8 Bit
7 Bit
T1CK[1:0]=00 (125ns)
7.8KHz
15.6KHz
31.2KHz
62.4KHz
Frequency
T1CK[1:0]=01 (250ns)
3.9KHz
7.8KHz
15.6KHz
31.2KHz
T1CK[1:0]=10 (2us)
0.49KHz
0.98KHz
1.95KHz
3.91KHz
The POL bit of T1CR 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 POL (1: High, 0: Low). And if the duty value is
set to "00H", the PWM output is determined by the bit POL (1: Low, 0: High).
PS029502-0212
PRELIMINARY
86