ADCR0 Register
Bit
7
�a�e
START
R/W
R/W
POR
�
START: Start the A/D conversion
Bit 7
0→1→0: start
0→1: reset the A/D converter and set EOCB to "1"
This bit is used to initiate an A/D conversion process. The bit is normally low but if set
high and then cleared low again, the A/D converter will initiate a conversion process.
When the bit is set high the A/D converter will be reset.
Bit 6
EOCB: End of A/D conversion flag
0: A/D conversion ended
1: A/D conversion in progress
This read only flag is used to indicate when an A/D conversion process has completed.
When the conversion process is running the bit will be high.
ADOFF : ADC module power on/off control bit
Bit 5
0: ADC module power on
1: ADC module power off
This bit controls the power to the A/D internal function. This bit should be cleared
to zero to enable the A/D converter. If the bit is set high then the A/D converter will
be switched off reducing the device power consumption. As the A/D converter will
consume a limited amount of power, even when not executing a conversion, this may
be an important consideration in power sensitive battery powered applications.
Note: 1. it is recommended to set ADOFF=1 before entering IDLE/SLEEP Mode for
Bit 4
ADRFS: ADC Data Format Control
0: ADC Data MSB is ADRH bit 7, LSB is ADRL bit 4
1: ADC Data MSB is ADRH bit 3, LSB is ADRL bit 0
This bit controls the format of the 12-bit converted A/D value in the two A/D data
registers. Details are provided in the A/D data register section.
Bit 3
Unimplemented, read as "0"
Bit 2 ~ 0
ACS2 ~ ACS0: Select A/D channel (when ACS4 is "0")
000: AN0
001: AN1
010: AN2
011: AN3
100: AN4
101: AN5
110: AN6
111: AN7
These are the A/D channel select control bits. As there is only one internal hardware A/D
converter each of the eight A/D inputs must be routed to the internal converter using
these bits. If bit ACS4 in the ADCR1 register is set high then the internal V
routed to the A/D Converter.
Rev. 1.21
6
5
4
EOCB
ADOFF
ADRFS
R
R/W
R/W
1
1
�
saving power.
2. ADOFF=1 will power down the ADC module.
1�6
HT66F488/HT66F489
A/D Flash MCU with EEPROM
3
2
1
—
ACS2
ACS1
—
R/W
R/W
—
�
�
�ove��e� ��� 2�1�
0
ACS�
R/W
�
will be
BG
Need help?
Do you have a question about the HT66F488 and is the answer not in the manual?
Questions and answers