CHAPTER 23 10-BIT A/D CONVERTER
23.6
Operations of 10-bit A/D Converter and Its Setup
Procedure Examples
The EXT bit in the ADC1 register can be used to select the software activation or
continuous activation of the 10-bit A/D converter.
Operations of 10-bit A/D Converter's Conversion Function
Software activation
The settings shown in Figure 23.6-1 are required for software activation of the A/D conversion function.
Figure 23.6-1 Settings for A/D Conversion Function (Software Activation)
ADC1
ADC2
ADDH
ADDL
: Bit used
×: Bit unused
1: Set to 1
0: Set to 0
When A/D conversion is activated, the A/D conversion function starts working. In addition, even during
conversion, the A/D conversion function can be reactivated.
424
bit7
bit6
bit5
ANS3
ANS2
ANS1
AD8
TIM1
TIM0
-
-
-
A/D converted value is retained.
bit4
bit3
bit2
ANS0
ADI
ADMV
ADCK
ADIE
EXT
×
0
-
-
-
bit1
bit0
ADMVX
AD
1
CKDIV1 CKDIV0
A/D converted value retained