
7542 Group
Rev.3.02 Oct 31, 2006 Page 36 of 134
REJ03B0006-0302
Fig. 35 Structure of timer source selection register
Fig. 36 Structure of compare output mode register
Fig. 37 Structure of capture/compare status register
Fig. 38 Structure of compare interrupt source register
b
7
b
0
C
o
m
p
a
r
e
0
t
i
m
e
r
s
o
u
r
c
e
b
i
t
C
o
m
p
a
r
e
1
t
i
m
e
r
s
o
u
r
c
e
b
i
t
C
o
m
p
a
r
e
2
t
i
m
e
r
s
o
u
r
c
e
b
i
t
C
o
m
p
a
r
e
3
t
i
m
e
r
s
o
u
r
c
e
b
i
t
C
a
p
t
u
r
e
0
t
i
m
e
r
s
o
u
r
c
e
b
i
t
C
a
p
t
u
r
e
1
t
i
m
e
r
s
o
u
r
c
e
b
i
t
N
o
t
u
s
e
d
(
r
e
t
u
r
n
s
“
0
”
w
h
e
n
r
e
a
d
)
0
:
T
i
m
e
r
A
1
:
T
i
m
e
r
B
T
i
m
e
r
s
o
u
r
c
e
s
e
l
e
c
t
i
o
n
r
e
g
i
s
t
e
r
(
T
M
S
R
:
a
d
d
r
e
s
s
0
0
1
F
1
6
,
i
n
i
t
i
a
l
v
a
l
u
e
:
0
0
1
6
)
b
7
b
0
C
o
m
p
a
r
e
0
o
u
t
p
u
t
l
e
v
e
l
l
a
t
c
h
0
:
P
o
s
i
t
i
v
e
1
:
N
e
g
a
t
i
v
e
C
o
m
p
a
r
e
1
o
u
t
p
u
t
l
e
v
e
l
l
a
t
c
h
0
:
P
o
s
i
t
i
v
e
1
:
N
e
g
a
t
i
v
e
C
o
m
p
a
r
e
2
o
u
t
p
u
t
l
e
v
e
l
l
a
t
c
h
0
:
P
o
s
i
t
i
v
e
1
:
N
e
g
a
t
i
v
e
C
o
m
p
a
r
e
3
o
u
t
p
u
t
l
e
v
e
l
l
a
t
c
h
0
:
P
o
s
i
t
i
v
e
1
:
N
e
g
a
t
i
v
e
C
o
m
p
a
r
e
0
t
r
i
g
g
e
r
e
n
a
b
l
e
b
i
t
0
:
D
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