English
Language : 

M16C1N Datasheet, PDF (110/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
10 1
Symbol
TYZMR
Address
008016
When reset
000000X02
Bit symbol
Bit name
Function
RW
TYMOD0 Timer Y-related bit
RW
Nothing is assigned.
When write, set "0". When read, the content is "0".
TYWC
Timer Y-related bits
RW
TYS
RW
b5 b4
TZMOD0 Timer Z operation 0 1 : Programmable waveform generation mode RW
mode bit
(Note 1)
TZMOD1
RW
TZWC
Timer Z write
control bit
1 : Set to "1" in programmable waveform
generation mode
RW
TZS
Timer Z count
0 : Stops counting (Note 2)
start flag
1 : Starts counting
RW
Note 1: When selecting programmable waveform generation mode, output is set for Port P31 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
Bit name
TYPUM0 Timer Y-related bits
Function
RW
RW
TYPUM1
RW
TZPUM0 Timer Z primary
0 : No waveform extension
waveform extension
1 : Waveform extension (Note 1)
RW
control bit
TZPUM1 Timer Z secondary
0 : No waveform extension
waveform extension
1 : Waveform extension (Note 1)
RW
control bit
TYOPL
Timer Y-related bit
RW
TZOPL
Timer Z output level
latch
0 : Outputs "H" for the period set by Timer Z primary and
"L" for the period set by Timer Z secondary.
"L" is outputted when the timer is stopped.
1 : Outputs "L" for the period set by Timer Z primary and
RW
"H" for the period set by Timer Z secondary.
"H" is outputted when the timer is stopped.
INOSTG
INT0 pin one-shot
trigger control bit
Invalid in programmable waveform generation
mode
RW
INOSEG
INT0 pin one-shot
Invalid in programmable waveform generation
trigger polarity select bit mode
RW
Note 1: When setting this bit to "1", the Prescaler Z Register must be set to "0016".
Figure 12.26 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 98 of 222
REJ09B0007-0100Z