SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 62
Revision 1.93
ADM – ADC Converter Mode Register
SN8P1702 --- 4 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 CHS1
CHS0
Read/Write R/W R/W R/W R/W -
0 R/W R/W
Initial
Value
0 0 0 0 - 0 0 0
Bit2
0
Always write zero.
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.
CHS1,CHS0
ADC Input Channel (AIN) Selection
00
AIN0.
01
AIN1.
10
AIN2.
11
AIN3.