![Toshiba TMP91C824F Data Book Download Page 190](http://html.mh-extra.com/html/toshiba/tmp91c824f/tmp91c824f_data-book_428625190.webp)
TMP91C824
91C824-187
(5) A/D conversion time
84 states (10.5
µ
s @ f
FPH
=
16MHz) are required for the A/D conversion for one channel.
(6) Storing and reading the results of A/D conversion
The A/D Conversion Data Upper and Lower Registers (ADREG04H/L to ADREG37H/L) store
the A/D conversion results. (ADREG04H/L to ADRG37H/L are read-only registers.)
In Channel Fixed Repeat Conversion Mode, the conversion results are stored successively in
registers ADREG04H/L to ADRG37H/L. In other modes, the AN0 and AN4, AN1 and AN5, AN2
and AN6, and AN3 and AN7 conversion results are stored in ADREG04H/L, ADREG15H/L,
ADREG26H/L and ADREG37H/L respectively.
Table 3.11.3 shows the correspondence between the analog input channels and the registers which
are used to hold the results of A/D conversion.
Table 3.11.3 Correspondence Between Analog Input Channels and
A/D Conversion Result Registers
A/D Conversion Result Register
Analog input channel
(Port A)
Conversion modes other
than at right
Channel fixed repeat
conversion mode
(every 4th conversion)
AN0 ADREG04H/L
AN1 ADREG15H/L
AN2 ADREG26H/L
AN3 ADREG37H/L
AN4 ADREG04H/L
AN5 ADREG15H/L
AN6 ADREG26H/L
AN7 ADREG37H/L
ADREG04H/L
ADREG15H/L
ADREG26H/L
ADREG37H/L
<ADRxRF>, bit “0” of the A/D conversion data lower register, is used as the A/D conversion
data storage flag. The storage flag indicates whether the A/D conversion result register has been
read or not. When a conversion result is stored in the A/D conversion result register, the flag is set to
“1”. When either of the A/D conversion result registers (ADREGxH or ADREGxL) is read, the flag
is cleared to “0”.
Reading the A/D conversion result also clears the A/D Conversion End flag ADMOD0<EOCF> to
“0”.