English
Language : 

M16C1N Datasheet, PDF (115/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
1 11
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 1 1 : Programmable wait one-shot generation
RW
mode bit
mode
(Note 1)
TZMOD1
RW
TZWC
Timer Z write
control bit
1 : Set to "1" in programmable wait one-shot
generation mode
RW
TZS
Timer Z count
0 : Stops counting (Note 2)
start flag
1 : Starts counting
RW
Note 1: When selecting programmable wait one-shot 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
0 : Outputs "H" level one-shot pulse.
latch
"L" is outputted when the timer is stopped.
1 : Outputs "L" level one-shot pulse.
RW
"H" is outputted when the timer is stopped.
INOSTG INT0 pin one-shot
0 : INT0 pin one-shot trigger invalid
trigger control bit
1 : INT0 pin one-shot trigger valid (Note 2)
RW
INOSEG INT0 pin one-shot
0 : Edge trigger at falling edge
trigger polarity select bit 1 : Edge trigger at rising edge
RW
(Note 3)
Note 1: When setting this bit to "1", the Prescaler Z Register must be set to "0016".
Note 2: When changing this bit to "1", set the INT0 input filter select bit (bit 0 at address 009616), the INT0 input polarity select bit
(bit 1 at address 009616), the INT0 input filter select bit (bits 0 and 1 at address 001E16) and the INT0 pin one-shot trigger
polarity select bit.
Note 3: This bit is valid only when the INT0 input polarity select bit (bit 1 at address 009616) is "0" (one-edge).
Figure 12.29 Timer Y, Z mode register and Timer Y, Z waveform output control register in
programmable wait one-shot generation mode
Rev.1.00 Oct 20, 2004 page 103 of 222
REJ09B0007-0100Z