R8C/13 Group
12.3 Timer (Timer Z)
Timer Y, Z mode register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TYZMR
Address
008016
After reset
0016
0
0
Bit symbol
TYMOD0
Function
Bit name
RW
RW
Timer Y-related bit
R1EDG
RW
RW
TYWC
TYS
RW
RW
b5 b4
Timer Z operation
mode bit
0 0 : Timer mode
TZMOD0
TZMOD1
RW
RW
RW
Timer Z write
control bit(1)
0 : Write to reload register and counter
1 : Write to reload register only
TZWC
TZS
Timer Z count
start flag
0 : Stops counting
1 : Starts counting
NOTES:
1. When TZS bit=1 (starts counting), the value set in the TZWC bit is valid. If TZWC bit=0, the timer Z count value is
written to both reload register and counter. If TZWC bit=1, the timer Z count value is written to the reload register
only.
When TZS bit=0 (stops counting), the timer Z count value is written to both reload register and counter regardless of
how the TZWC bit is set.
Timer Y, Z waveform output control register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PUM
Address
008416
After reset
0016
0
0 0
0
0 0 0
Bit symbol
Bit name
Reserved bit
RW
RW
Function
Must set to “0”
(b3-b0)
TYOPL
Timer Y-related bit
RW
Timer Z output level
latch
TZOPL
Must set to “0” in timer mode
RW
RW
INT0 pin one-shot
trigger control bit
Must set to “0” in timer mode
Must set to “0” in timer mode
INOSTG
INOSEG
INT0 pin one-shot trigger
polarity select bit
RW
Figure 12.22 TYZMR Register and PUM Register in Timer Mode
Rev.1.20 Jan 27, 2006 page 92 of 205
REJ09B0111-0120