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
1
1
0
Bit symbol
TYMOD0
Function
Bit name
RW
RW
Timer Y-related bit
R1EDG
RW
RW
TYWC
TYS
RW
b5 b4
Timer Z operation
mode bit
RW
0 1 : Programmable waveform generation mode
TZMOD0
TZMOD1
RW
RW
RW
Timer Z write
control bit
Set to "1" in programmable waveform generation
mode(1)
TZWC
TZS
Timer Z count
start flag
0 : Stops counting
1 : Starts counting
NOTES:
1. When the TZS bit is set to “1” (count starts), the count value is written to the reload register only.
When the TZS bit is set to “0” (count stops), the count value is written to both the reload register and counter.
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
Bit symbol
Bit name
Reserved bit
Function
RW
Must set to “0”
RW
RW
(b3-b0)
TYOPL
Timer Y-related bit
0 : Outputs "H" for primary period
Outputs "L" for secondary period
Outputs "L" when the timer is stopped
1 : Outputs "L" for primary period
Outputs "H" for secondary period
Outputs "H" when the timer is stopped
Timer Z output level
latch
TZOPL
RW
INT0 pin one-shot
trigger control bit
Must set to “0” in programmable waveform
generation mode
INOSTG
INOSEG
RW
RW
Must set to “0” in programmable waveform
generation mode
INT0 pin one-shot
trigger polarity select bit
Figure 12.23 TYZMR Register and PUM Register in Programmable Waveform Generation Mode
Rev.1.20 Jan 27, 2006 page 94 of 205
REJ09B0111-0120