TMP92CM22 2007-02-16 92CM22-201
AD Mode Control Register 1
7 6 5 4 3 2 1 0
Bit symbol VREFON I2AD − − − ADCH2 ADCH1 ADCH0 ADMOD1
(12B9H) Read/Write R/W
After reset 0 0 0 0 0 0 0 0
Function VREF
application
control
0: OFF
1: ON
IDLE2
0: Stop
1: Operate
Always
write “0”. Always write
“0”. Always
write “0”. Analog input channel selection
<SCAN>
<ADCH2:0>
0
Channel
fixed
1
Channel
scanned
000 AN0 AN0
001 AN1 AN0 → AN1
010 AN2 AN0 → AN1 → AN2
011 (Note) AN3 AN0 → AN1 → AN2 → AN3
100 (Note) AN4 AN0 → AN1 → AN2 → AN3
→ AN4
101 (Note) AN5 AN0 → AN1 → AN2 → AN3
→ AN4 → AN5
110 (Note) AN6 AN0 → AN1 → AN2 → AN3
→ AN4 → AN5 → AN6
111 (Note) AN7 AN0 → AN1 → AN2 → AN3
→ AN4 → AN5 → AN6 → AN7
0 Stopped
1 In operation
0OFF
1ON
AD Mode Control Register 2
7 6 5 4 3 2 1 0
Bit symbol ADTRGEADMOD2
(12BAH) Read/Write R/W
After reset 0
Function AD conversion
trigger start
control
0: Disable
1. Enable
0 Disabled
1 Enabled
Note: As pin AN3 also functions as the ADTRG input pin, do not set <ADCH2:0> = “011, 100,101,110,111” when
using ADTRG with <ADTRGE> set to “1”.
Figure 3.11.3 Register for AD Converter
IDLE2 control
Control of application of reference voltage
to AD converter
Before starting conversion (before writing 1
to ADMOD0<ADS>), set the <VREFON> bit
to 1.
AD conversion start control by external
trigger (ADTRG input )
Analog input channel selection