English
Language : 

BC66F840 Datasheet, PDF (137/242 Pages) Holtek Semiconductor Inc – 2.4GHz Flash RF TX/RX MCU
BC66F840/BC66F850/BC66F860
2.4GHz Flash RF TX/RX MCU
ADCR0 Register – BC66F850/BC66F860
Bit
Name
R/W
POR
7
START
R/W
0
6
EOCB
R
1
5
ADOFF
R/W
1
4
ADRFS
R/W
0
3
ACS3
R/W
0
2
ACS2
R/W
0
1
ACS1
R/W
0
0
ACS0
R/W
0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3~0
START: Start the A/D conversion
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.
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: A/D module on/off control bit
0: A/D module power on
1: A/D 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 devices 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 power.
2. ADOFF=1 will power down the ADC module.
ADRFS: A/D Data Format control bit
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.
ACS3~ACS0: Select A/D channel (when ACS4 is 0)
0000: AN0
0001: AN1
0010: AN2
0011: AN3
0100: AN4
0101: AN5
0110: AN6
0111: AN7
1000: AN8
1001: AN9
1010: AN10
1011: AN11
1100: AN12
1101: AN13
1110: AN14
1111: AN15
Rev. 1.40
137
May 24, 2017