Rev.2.00 Oct 16, 2006 page 222 of 354
REJ09B0340-0200
M30245 Group
2. A/D Converter
In repeat mode, choose functions from those listed in Table 2.9.4. Operations of the circled items are
described below. Figure 2.9.8 shows timing chart, and Figure 2.9.9 shows the set-up procedure.
2.9.4 Operation of A/D Converter (in repeat mode)
Item
Set-up
Operation clock
φ
AD
8-bit / 10-bit
Software trigger
Sample & Hold
Not activated
Activated
O
O
Resolution
Analog input pin
One of AN
0
pin
to AN
7
pin
Trigger for starting
A/D conversion
O
O
O
Trigger by AD
TRG
Divided-by-4 f
AD
/ divided-
by-3 f
AD
/ divided-by-2 f
AD
/ f
AD
(1) Setting the A/D conversion start flag to “1” causes the A/D converter to start operating.
(2) After the first conversion is completed, the content of the successive comparison register
(conversion result) is transmitted to AD register i. The A/D conversion interrupt request bit
does not go to “1”.
(3) The A/D converter continues operating until the A/D conversion start flag is set to “0” by
software. The conversion result is transmitted to AD register i every time a conversion is
completed.
Table 2.9.4. Choosed functions
Operation
Figure 2.9.8. Operation timing of repeat mode
A/D conversion
start flag
“
1
”
“
0
”
AD register i
Result
S
e
t
t
o
“
1
”
b
y
s
o
f
t
w
a
r
e
φ
AD
8
-
b
i
t
r
e
s
o
l
u
t
i
o
n
:
2
8
φ
A
D
c
y
c
l
e
s
1
0
-
b
i
t
r
e
s
o
l
u
t
i
o
n
:
3
3
φ
A
D
c
y
c
l
e
s
(
1
)
S
t
a
r
t
A
/
D
c
o
n
v
e
r
s
i
o
n
(2) Conversion result is transferred to the AD register
(
3
)
A
/
D
c
o
n
v
e
r
s
i
o
n
i
s
c
o
m
p
l
e
t
e
Cleared to “0” by software
A/D conversion
Result
S
t
o
p
C
o
n
v
e
r
t
C
o
n
v
e
r
t
C
o
n
v
e
r
t
Stop
N
o
t
e
: W
h
e
n
φ
A
D
f
r
e
q
u
e
n
c
y
i
s
l
e
s
s
t
h
a
n
1
M
H
z
,
s
a
m
p
l
e
a
n
d
h
o
l
d
f
u
n
c
t
i
o
n
c
a
n
n
o
t
b
e
s
e
l
e
c
t
e
d
.
C
o
n
v
e
r
s
i
o
n
r
a
t
e
p
e
r
a
n
a
l
o
g
i
n
p
u
t
p
i
n
i
s
4
9
φ
A
D
c
y
c
l
e
s
f
o
r
8
-
b
i
t
r
e
s
o
l
u
t
i
o
n
a
n
d
5
9
φ
A
D
c
y
c
l
e
s
f
o
r
1
0
-
b
i
t
r
e
s
o
l
u
t
i
o
n
.
8-bit resolution : 28
φ
AD
cycles
10-bit resolution : 33
φ
AD
cycles
Summary of Contents for M16C FAMILY
Page 12: ...Chapter 1 Hardware...
Page 13: ...See M30245 group datasheet...
Page 14: ...Chapter 2 Peripheral Functions Usage...
Page 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Page 340: ...Chapter 4 External Buses...
Page 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 362: ...Chapter 5 Standard Characteristics...