English
Language : 

M16C1N Datasheet, PDF (103/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
12. Timers
Timer Y, Z mode register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TYZMR
Address
008016
When reset
000000X02
Bit symbol
Bit name
Function
RW
TYMOD0 Timer Y operation 0 : Timer mode
mode bit
1 : Programmable waveform generation mode RW
(Note 1)
Nothing is assigned.
When write, set "0". When read, the content is "0".
TYWC
Timer Y write
Function varies depending on
control bit
the operation mode
RW
TYS
TZMOD0
TZMOD1
TZWC
Timer Y count
start flag
Timer Z operation
mode bit (Note 3)
Timer Z write
control bit
0 : Stops counting (Note 2)
1 : Starts counting
RW
b5 b4
0 0 : Timer mode
RW
0 1 : Programmable waveform generation mode
1 0 : Programmable one-shot generation mode
1 1 : Programmable wait one-shot generation
RW
mode
Function varies depending on
the operation mode
RW
TZS
Timer Z count
0 : Stops counting (Note 2)
start flag
1 : Starts counting
RW
Note 1: In programmable waveform generation mode, port P32 is set for output regardless of the value of the direction
register.
Note 2: When this bit is cleared to "0", the timer reloads the content of the reload register before it stops. Read out the
count value before you stop the timer.
Note 3: When timer Z operation mode bit is set for "01", "10" or "11", port P31 is set for output regardless of the value of
the direction register.
Figure 12.21 Timer Z-related registers (1)
Rev.1.00 Oct 20, 2004 page 91 of 222
REJ09B0007-0100Z