SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 63
Revision 1.93
ADM – ADC Converter Mode Register
SN8P1704 --- 5 channel ADC
SN801706/SN801707/SN801708 --- 8 channel ADC
Register Name
ADM
Address 0B1H
Bit
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit’s
Name ADENB ADS EOC GCHS
0
CHS2 CHS1 CHS0
Read/Write R/W R/W R/W R/W - R/W R/W R/W
Initial
Value
0 0 0 0 - 0 0 0
Bit3
Undefined
ADENB
ADC Converter Control Bit
0
ADC
disable.
1
ADC
enable.
ADS
ADC Converter Start Bit
0
Stop ADC converting.
1
Start ADC converting.
EOC
ADC Converter Status Bit
0
End of ADC converting and reset ADS bit.
1
ADC
processing.
GCHS
Global Channel Select Bit
0
Disable AIN (AD input) channel.
1
Enable AIN (AD input) channel.
CHS2,CHS1,CHS0
ADC Input Channel (AIN) Selection
000
AIN0.
001
AIN1.
010
AIN2.
011
AIN3.
100
AIN4.
101
AIN5.
110
AIN6.
111
AIN7.