Resolution Select Function; Sample And Hold; Power Consumption Reducing Function - Renesas M16C/26A Series Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6

14.2 Resolution Select Function

The BITS bit in the ADCON1 register determines the resolution. When the BITS bit is set to "1" (10-bit
precision), the A/D conversion result is stored into bits 0 to 9 in the A/D register i (i=0 to 7). When the BITS
bit is set to "0" (8-bit precision), the A/D conversion result is stored into bits 0 to 7 in the ADi register.

14.3 Sample and Hold

When the SMP bit in the ADCON 2 register is set to "1" (with the sample and hold function), A/D conver-
sion rate per pin increases to 28 φ
sample and hold function is available in one-shot mode, repeat mode, single sweep mode, repeat sweep
mode 0 and repeat sweep mode 1. In these modes, start A/D conversion after selecting whether the
sample and hold circuit is to be used or not. In simultaneous sample sweep mode, delayed trigger mode
0 or delayed trigger mode 1, set to use the Sample and Hold function before starting A/D conversion.

14.4 Power Consumption Reducing Function

When the A/D converter is not used, the VCUT bit in the ADCON1 register isolates the resistor ladder of
the A/D converter from the reference voltage input pin (V
off any current flow into the resistor ladder from the V
When using the A/D converter, set the VCUT bit to "1" (V
ADCON0 register to "1" (A/D conversion started). Do not set the ADST bit and VCUT bit to "1" simulta-
neously, nor set the VCUT bit to "0" (V
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
cycles for 8-bit resolution or 33 φ
AD
REF
page 211
f o
3
2
9
C
2 /
6
) T
). Power consumption is reduced by shutting
REF
pin.
REF
connected) before setting the ADST bit in the
REF
unconnected) during A/D conversion.
14. A/D Converter
cycles for 10-bit resolution. The
AD

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents