Rev.2.00 Oct 16, 2006 page 218 of 354
REJ09B0340-0200
M30245 Group
2. A/D Converter
In one-shot mode, choose functions from those listed in Table 2.9.2. Operations of the circled items are
described below. Figure 2.9.4 shows the operation timing, and Figure 2.9.5 shows the set-up procedure.
2.9.2 Operation of A/D converter (one-shot mode)
Figure 2.9.4. Operation timing of one-shot 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
Operation
A
/
D
c
o
n
v
e
r
s
i
o
n
s
t
a
r
t
f
l
a
g
“1”
“0”
A/D conversion
interrupt request
A
D
r
e
g
i
s
t
e
r
i
“1”
“0”
C
l
e
a
r
e
d
t
o
“
0
”
w
h
e
n
i
n
t
e
r
r
u
p
t
r
e
q
u
e
s
t
i
s
a
c
c
e
p
t
e
d
,
o
r
c
l
e
a
r
e
d
b
y
s
o
f
t
w
a
r
e
R
e
s
u
l
t
φ
A
D
8-bit resolution : 28
φ
AD
cycles
10-bit resolution : 33
φ
AD
cycles
Set to “1” by software
(1) Start A/D conversion
(
2
)
A
/
D
c
o
n
v
e
r
s
i
o
n
i
s
c
o
m
p
l
e
t
e
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
.
Table 2.9.2. Choosed functions
(1) Setting the A/D conversion start flag to “1” causes the A/D converter to begin operating.
(2) After A/D conversion is completed, the content of the successive comparison register (con-
version result) is transmitted to AD register i. At this time, the A/D conversion interrupt re-
quest bit goes to “1”. Also, the A/D conversion start flag goes to “0”, and the A/D converter
stops operating.
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...