HT68F04 Holtek Semiconductor, HT68F04 Datasheet - Page 97

no-image

HT68F04

Manufacturer Part Number
HT68F04
Description
Small Package Enhanced Flash Type 8-Bit MCU
Manufacturer
Holtek Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT68F04
Manufacturer:
ST
Quantity:
14 500
·
Rev. 1.00
ADCR0 Register
¨
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3~2
Bit 1~0
HT66F03/HT66F04
Name
POR
R/W
Bit
START
START: Start the A/D conversion
0®1®0 : start
0®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.
EOCB: End of A/D conversion flag
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
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 saving
ADRFS: ADC Data Format Control
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.
unimplemented, read as ²0²
ACS1, ACS0: Select A/D channel (when ACS4 is ²0²)
These are the A/D channel select control bits. As there is only one internal hardware A/D
converter each of the four 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 1.25V reference voltage source
will be routed to the A/D Converter.
R/W
0: A/D conversion ended
1: A/D conversion in progress
0: ADC module power on
1: ADC module power off
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
00: AN0
01: AN1
10: AN2
11: AN3
7
0
2. ADOFF=1 will power down the ADC module.
power.
: reset the A/D converter and set EOCB to ²1²
EOCB
R
6
1
ADOFF
R/W
5
1
ADRFS
HT66F03/HT66F04/HT68F03/HT68F04
97
R/W
4
0
¾
¾
¾
3
¾
¾
¾
2
ACS1
R/W
1
0
April 16, 2010
www.DataSheet4U.com
ACS0
R/W
0
0

Related parts for HT68F04