English
Language : 

M16C1N Datasheet, PDF (105/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
12. Timers
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
TZPUM1
Bit name
Timer Y primary
waveform extension
control bit
Timer Y secondary
waveform extension
control bit
Timer Z primary
waveform extension
control bit
Timer Z secondary
waveform extension
control bit
TYOPL
Timer Y output level
latch
Function
RW
0 : No waveform extension
1 : Waveform extension (Note 1)
RW
0 : No waveform extension
1 : Waveform extension (Note 1)
RW
0 : No waveform extension
1 : Waveform extension (Note 2)
RW
0 : No waveform extension
1 : Waveform extension (Note 2)
RW
Function varies depending on the operation mode RW
TZOPL
Timer Z output level
latch
Function varies depending on the operation mode RW
INOSTG INT0 pin one-shot
0 : INT0 pin one-shot trigger invalid
trigger control bit
1 : INT0 pin one-shot trigger valid (Note 3)
RW
(Timer Z)
INOSEG INT0 pin one-shot
0 : Edge trigger at falling edge
trigger polarity select bit 1 : Edge trigger at rising edge
RW
(Note 4)
(Timer Z)
Note 1: When setting this bit to "1", the prescaler Y register must be set to "0016".
Note 2: When setting this bit to "1", the prescaler Z register must be set to "0016".
Note 3: When setting this bit to "1", this bit must be set to "1" after setting the INT0 input enable bit (bit 0 at address 009616), the
INT0 input polarity select bit (bit 1 at address 009616), the INT0 input filter select bits (bits 0 and 1 at address 001E16)
and the INT0 pin one-shot trigger polarity select bit.
Note 4: This bit is valid only when the INT0 input polarity select bit (bit 1 at address 009616) is "0" (one-edge).
Timer count source setting register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TCSS
Address
008E16
When reset
0016
Bit symbol
Bit name
Function
RW
TXCK0
Timer X count source
select bit (Note 1)
b1 b0
0 0 : f1
0 1 : f8
RW
TXCK1
1 0 : f32
1 1 : fC32
RW
TYCK0
Timer Y count source
select bit (Note 1, 2)
b3 b2
0 0 : f1
0 1 : f8
RW
TYCK1
1 0 : On-chip oscillator output (Note 3)
1 1 : fC32
RW
TZCK0
Timer Z count source
select bit (Note 1, 4)
b5 b4
0 0 : f1
0 1 : f8
RW
TZCK1
1 0 : Timer Y underflow
RW
1 1 : fC32
T1CK0
Timer 1 count source
select bit
b7 b6
0 0 : f1
0 1 : f8
RW
T1CK1
1 0 : f32
RW
1 1 : fC32
Note 1: Avoid switching a count source, while a counter is in progress. Timer counter should be stopped before switching a
counter source.
Note 2: The waveform extend function cannot be used when selecting f1 for count source.
Note 3: When attempting to select on-chip oscillator output, set the on-chip oscillation enable bit (CM14) of the system clock
control register (address 000716) for oscillation enabled.
Note 4: The waveform extend function cannot be used when selecting Timer Y underflow and f1 for count source.
Both the Timer Y primary underflow and the Timer Y secondary underflow are counted when selecting the Timer Y
underflow for count source.
Figure 12.23 Timer Z-related registers (3)
Rev.1.00 Oct 20, 2004 page 93 of 222
REJ09B0007-0100Z