English
Language : 

M16C1N Datasheet, PDF (100/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
11
Symbol
TYZMR
Address
008016
When reset
000000X02
Bit symbol
Bit name
Function
RW
TYMOD0 Timer Y operation
mode bit
1 : Programmable waveform generation mode
(Note 1)
RW
Nothing is assigned.
When write, set "0". When read, the content is indeterminate.
TYWC
Timer Y write
control bit
1 : Set to "1" in programmable waveform
generation mode
RW
TYS
Timer Y count
0 : Stops counting (Note 2)
start flag
1 : Starts counting
RW
TZMOD0 Timer Z-related bit
RW
TZMOD1
RW
TZWC
RW
TZS
RW
Note 1: Output is set for Port P32 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.
Timer Y, Z waveform output control register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PUM
Address
008416
When reset
0016
Bit symbol
TYPUM0
TYPUM1
TZPUM0
Bit name
Timer Y primary
waveform extension
control bit
Timer Y secondary
waveform extension
control bit
Timer Z-related bits
TZPUM1
TYOPL
Timer Y output level
latch
Function
RW
0 : No waveform extension
1 : Waveform extension (Note 1, 2)
RW
0 : No waveform extension
1 : Waveform extension (Note 1, 2)
RW
RW
RW
0 : Outputs "H" for the period set by Timer Y primary and
"L" for the period set by Timer Y secondary.
"L" is outputted when the timer is stopped.
1 : Outputs "L" for the period set by Timer Y primary and
RW
"H" for the period set by Timer Y secondary.
"H" is outputted when the timer is stopped.
TZOPL
Timer Z-related bits
RW
INOSTG
RW
INOSEG
RW
Note 1: When setting this bit to "1", the Prescaler Y Register must be set to "0016".
Note 2: The waveform extend function cannot be used when selecting f1 for count source.
Figure 12.18 Timer Y, Z mode register and Timer Y, Z waveform output control register in
programmable waveform generation mode
Rev.1.00 Oct 20, 2004 page 88 of 222
REJ09B0007-0100Z