SN8P275X Series
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 136
Version 0.7
11.2 ADM REGISTER
0B1H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
ADM
ADENB ADS EOC GCHS
-
CHS2 CHS1 CHS0
Read/Write R/W
R/W
R/W R/W - R/W R/W R/W
After
reset
0 0 0 0 - 0 0 0
Bit 7
ADENB:
ADC control bit.
0 = Disable.
1 = Enable.
Bit 6
ADS:
ADC start bit.
0 = Stop.
1 = Starting.
Bit 5
EOC:
ADC status bit.
0 = Progressing.
1 = End of converting and reset ADS bit.
Bit 4
GCHS:
Global channel select bit.
0 = Disable AIN channel.
1 = Enable AIN channel.
Bit[2:0]
CHS[2:0]:
ADC input channels select bit.
000 = AIN0, 001 = AIN1, 010 = AIN2, 011 = AIN3
100 = AIN4, 101 = AIN5, 110 = AIN6, 111 = AIN7
Note: If ADENB = 1, users should set P4.n/AINn as input mode without pull-up. System doesn’t set
automatically. If P4CON.n is set, the P4.n/AINn’s digital I/O function including pull-up is isolated.