English
Language : 

M16C1N Datasheet, PDF (112/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
110
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
TZMOD0
TZMOD1
Timer Z operation
mode bit
b5 b4
1 0 : Programmable one-shot generation mode RW
(Note 1)
RW
TZWC
Timer Z write
control bit
1 : Set to "1" in programmable one-shot
generation mode
RW
TZS
Timer Z count
start flag
0 : Stops counting (Note 2)
1 : Starts counting
RW
Note 1: When selecting programmable 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
Function
RW
TYPUM0 Timer Y-related bits
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
Invalid in programmable one-shot generation
waveform extension
mode
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
trigger control bit
0 : INT0 pin one-shot trigger invalid
1 : INT0 pin one-shot trigger valid (Note 2)
RW
INOSEG INT0 pin one-shot
0 : Edge trigger at falling edge
trigger polarity select 1 : Edge trigger at rising edge
RW
bit (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.27 Timer Y, Z mode register and Timer Y, Z waveform output control register in
programmable one-shot generation mode
Rev.1.00 Oct 20, 2004 page 100 of 222
REJ09B0007-0100Z