English
Language : 

Z51F3220FNX Datasheet, PDF (114/312 Pages) Zilog, Inc. – Z8051 Series 8-Bit Microcontrollers
Z51F3220
Product Specification
11.5 Timer 0
11.5.1 Overview
The 8-bit timer 0 consists of multiplexer, timer 0 counter register, timer 0 data register, timer 0 capture data
register and timer 0 control register (T0CNT, T0DR, T0CDR, T0CR).
It has three operating modes:
- 8-bit timer/counter mode
- 8-bit PWM output mode
- 8-bit capture mode
The timer/counter 0 can be clocked by an internal or an external clock source (EC0). The clock source is
selected by clock selection logic which is controlled by the clock selection bits (T0CK[2:0]).
- TIMER 0 clock source: fX/2, 4, 8, 32, 128, 512, 2048 and EC0
In the capture mode, by EINT10, the data is captured into input capture data register (T0CDR). In timer/counter
mode, whenever counter value is equal to T0DR, T0O port toggles. Also the timer 0 outputs PWM waveform
through PWM0O port in the PWM mode.
Table 11-5 Timer 0 Operating Modes
T0EN
1
1
1
T0MS[1:0]
00
01
1X
T0CK[2:0]
XXX
XXX
XXX
Timer 0
8 Bit Timer/Counter Mode
8 Bit PWM Mode
8 Bit Capture Mode
PS029902-0212
PRELIMINARY
111