TMP92CF30
2009-06-12
92CF30-534
3.22.2.8 Storing and Read of AD Conversion Results
AD conversion results are stored in the AD conversion result
higher-order/lower-order registers (ADREG0H/L
∼
ADRG5H/L) for the normal AD
conversion (ADREG0H/L to ADREG5H/L are read-only registers)
In the channel-fix repeat conversion mode, AD conversion results are stored into
ADREG0H/L to ADREG3H/L one after another. In other modes, the conversion results
of channels AN0, AN1, AN2, AN3, AN4, and AN5 are each stored into ADREG0H/L,
ADREG1H/L, ADREG2H/L, ADREG3H/L, ADREG4H/L, and ADREG5H/L.
Table 3.22.2 shows the correspondence between analog input channels and AD
conversion result registers.
Table 3.22.2 Correspondence between analog input channels and AD conversion result registers
AD Conversion result registers
Analog input channel
(Port G)
Other conversion
modes than shown in
the right
Channel-fix repeat
conversion mode
(per 4 times)
AN0 ADREG0H/L
AN1 ADREG1H/L
AN2 ADREG2H/L
AN3 ADREG3H/L
AN4 ADREG4H/L
AN5 ADREG5H/L
ADREG0H/L
ADREG3H/L
ADREG1H/L
ADREG2H/L
Note: In order to detect overruns without omission, read the conversion result storage register's higher-order bits first,
and than read the lower-order bits next. As this result, receiving the result of OVRn
=
“0” and ADRnRF
=
“1” for
overruns existing in the lower-order bits means that a correct conversion result has been obtained.
3.22.2.9 Data Polling
To process AD conversion results by using data polling without using interrupts,
perform a polling on ADMOD0<EOS>. After confirming that ADMOD0<EOS> is set to
“1,” read the AD conversion storage register.
Содержание TLCS-900/H1 Series
Страница 1: ...TOSHIBA Original CMOS 32 Bit Microcontroller TLCS 900 H1 Series TMP92CF30FG Semiconductor Company ...
Страница 650: ...TMP92CF30 2009 06 12 92CF30 648 7 Package Dimensions LQFP176 P 2020 0 40F TOP VIEW BOTTOM VIEW Detail view of A 25 1 A ...
Страница 652: ...TMP92CF30 2009 06 12 92CF30 650 ...