English
Language : 

M16C1N Datasheet, PDF (102/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
12. Timers
12.4 Timer Z
Timer Z is an 8-bit timer with an 8-bit prescaler and has two reload registers - Timer Z Primary and Timer
Z Secondary.
Timer Z has the four operation modes listed as follows:
• Timer mode: The timer counts an internal count source (clock source) or Timer Y underflow.
• Programmable waveform generation mode: The timer outputs pulses of a given width successively.
• Programmable one-shot generation mode: The timer outputs one-shot pulse.
• Programmable wait one-shot generation mode: The timer outputs delayed one-shot pulse.
Figure 12.20 shows the block diagram of Timer Z. Figures 12.21 to 12.24 show the Timer Z-related
registers.
Clock source
selection
f1
f8
Timer Y underflow
fC32
Reload register (8)
Peripheral data bus
Timer Z primary
(address 008716)
Timer Z secondary
(address 008616)
Reload register (8)
Reload register (8)
Counter (8)
Prescaler Z (address 008516)
Timer Z count
start flag
fPZ
Counter (8)
Timer Z (address 008716)
Programmable one-shot generation mode
Programmable wait one-shot generation mode
Timer Z one-shot start bit
INT0
Digital
filter
One edge/ both edges
input polarity select
INT0 input polarity select bit
Programmable waveform generation mode
Programmable one-shot generation mode
INT0 input enable bit
Programmable wait one-shot generation mode
"0"
TZOUT
Port P31 register
"1"
Timer Z programmable
waveform output
switching bit
Polarity
select
INT0 one-shot trigger
polarity select bit
"1"
Q
Toggle flip-flop T
"0"
Q
Timer Z output
level latch
Figure 12.20 Block diagram of Timer Z
Timer Z interrupt
request bit
Rev.1.00 Oct 20, 2004 page 90 of 222
REJ09B0007-0100Z