Download Print this page

Toshiba TLCS-900/H1 Series Manual page 314

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

(5) AD conversion time
132 states (6.6 μs at f
channel.
(6) Storing and reading the results of AD conversion
The AD conversion data upper and lower registers (ADREG0H/L to ADREG3H/L)
store the results of AD conversion. (ADREG0H/L to ADREG3H/L are read-only
registers.)
In channel fixed repeat conversion mode, the conversion results are stored
successively in registers ADREG0H/L to ADREG3H/L. In other modes the AN0, AN1,
AN2, AN3 and AN4 conversion results are stored in ADREG0H/L, ADREG1H/L,
ADREG2H/L and ADREG3H/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 AD conversion.
Table 3.11.3 Correspondence between Analog Input Channels and AD Conversion Result Registers
Analog Input Channel
(Port G)
<ADRxRF>, bit0 of the AD conversion data lower register, is used as the AD
conversion data storage flag. The storage flag indicates whether the AD conversion
result register has been read or not. When a conversion result is stored in the AD
conversion result register, the flag is set to 1. When either of the AD conversion result
registers (ADREGxH or ADREGxL) is read, the flag is cleared to 0.
Reading the AD conversion result also clears the AD conversion end flag
ADMOD0<EOCF> to 0.
= 20 MHz) are required for the AD conversion of one
SYS
AD Conversion Result Register
Conversion Modes
Other than at Right
AN0
ADREG0H/L
AN1
ADREG1H/L
AN2
ADREG2H/L
AN3
ADREG3H/L
92CH21-312
Channel Fixed Repeat
Conversion Mode
(ADMOD0<ITM0 = 1>)
ADREG0H/L
ADREG1H/L
ADREG2H/L
ADREG3H/L
TMP92CH21
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21