
R8C/10 Group
Rev.1.20 Jan 27, 2006 page 81 of 180
REJ09B0019-0120
Figure 12.24
TYZMR Register and PUM Register
in Programmable One-shot Generation Mode
B
i
t
n
a
m
e
F
u
n
c
t
i
o
n
B
i
t
s
y
m
b
o
l
T
i
m
e
r
Y
,
Z
w
a
v
e
f
o
r
m
o
u
t
p
u
t
c
o
n
t
r
o
l
r
e
g
i
s
t
e
r
Symbol Address After reset
PUM 0084
16
00
16
7
6
5
4
3
2
1
0
T
Y
O
P
T
Z
O
P
L
I
N
O
S
E
G
I
N
O
S
T
G
I
N
T
0
p
i
n
o
n
e
-
s
h
o
t
t
r
i
g
g
e
r
p
o
l
a
r
i
t
y
s
e
l
e
c
t
b
i
t
(1
)
Timer Z output level
latch
T
i
m
e
r
Y
-
r
e
l
a
t
e
d
b
i
t
I
N
T
0
p
i
n
o
n
e
-
s
h
o
t
t
r
i
g
g
e
c
o
n
t
r
o
l
b
i
t
(2
)
R
e
s
e
r
v
e
d
b
i
t
M
u
s
t
s
e
t
t
o
“
0
”
(
b
3
-
b
0
)
R
W
R
W
R
W
R
W
R
W
R
W
0
:
E
d
g
e
t
r
i
g
g
e
r
a
t
f
a
l
l
i
n
g
e
d
g
e
1
:
E
d
g
e
t
r
i
g
g
e
r
a
t
r
i
s
i
n
g
e
d
g
e
0
:
O
u
t
p
u
t
s
"
H
"
l
e
v
e
l
o
n
e
-
s
h
o
t
p
u
l
s
e
.
O
u
t
p
u
t
s
"
L
"
w
h
e
n
t
h
e
t
i
m
e
r
i
s
s
t
o
p
p
e
d
.
1
:
O
u
t
p
u
t
s
"
L
"
l
e
v
e
l
o
n
e
-
s
h
o
t
p
u
l
s
e
O
u
t
p
u
t
s
"
H
"
w
h
e
n
t
h
e
t
i
m
e
r
i
s
s
t
o
p
p
e
d
.
0
:
I
N
T
0
p
i
n
o
n
e
-
s
h
o
t
t
r
i
g
g
e
r
d
i
s
a
b
l
e
d
1
:
I
N
T
0
p
i
n
o
n
e
-
s
h
o
t
t
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6
5
4
3
2
1
0
TZMOD1
T
Y
S
T
Y
W
C
T
Y
M
O
D
0
TZMOD0
T
i
m
e
r
Y
-
r
e
l
a
t
e
d
b
i
t
TZWC
TZS
0 : Stops counting
1 : Starts counting
T
i
m
e
r
Z
c
o
u
n
t
s
t
a
r
t
f
l
a
g
Timer Z operation
mode bit
b
5
b
4
Timer Z write
control bit
1
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.
RW
RW
RW
RW
RW
RW
RW
RW
R1EDG
RW
Set to "1" in programmable one-shot generation
mode
(1)
01
1 0 : Programmable one-shot generation mode
Commentaires sur ces manuels