tmp89fm42k TOSHIBA Semiconductor CORPORATION, tmp89fm42k Datasheet - Page 327

no-image

tmp89fm42k

Manufacturer Part Number
tmp89fm42k
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RA002
20.3.3
ADCCR1<AMD>
ADCCR1<ADRS>
Conversion
operation
Status of ADCDRL
and ADCDRH
ADCCR2<EOCF>
INTADC interrupt
Read of ADCDRH
Read of ADCDRL
finished. If the next AD conversion is finished in the interim between a read of ADCDRL and a read of ADCDRH,
the previous converted value is retained without overwriting the AD converted value registers (ADCDRL and
ADCDRH). In this case, the INTADC interrupt request is not generated, and the conversion result is lost. (See
Figure 20-3.)
ADCCR1<AMD>, AD conversion stops immediately. In this case, the converted value is not stored in the AD
converted value register. As AD conversion starts, ADCCR2<ADBF> is set to "1". It is cleared to "0" if "00" is
written to AMD.
to stop the AD converter when AD conversion is ongoing in repeat mode, set ADCCR1<AMD> to "00".
ADCDRH are initialized to "0".
The AD converted value registers (ADCDRL and ADDRH) should be read before the next AD conversion is
To stop AD conversion, write "00" (AD operation disable) to ADCCR1<AMD>. As "00" is written to
If you want to force the AD converter to stop when AD conversion is ongoing in single mode or if you want
If ADCCR1<AMD> is set to "00", registers ADCCR2<EOCF>, ADCCR2<ADBF>, ADCDRL, and
AD operation disable and forced stop of AD operation
The INTADC interrupt request is
between a read of ADCDRL
not generated in the interim
and a read of ADCDRH.
Indeterminate
AD conversion start
Figure 20-3 Repeat Mode
2nd conversion
Result of the 1st conversion
Read of
conversion
result
Result of the
“11”
Page 309
Result of the 3rd
Read of
conversion
result
conversion
Read of
conversion
result
Result of the 3rd
Result of the 4th
conversion
conversion
Read of
conversion
result
Result of the 4th
Read of
conversion
result
AD conversion is
suspended.
The conversion result
is not stored.
conversion
“00”
Read of
conversion
result
A read of the
conversion result
will clear EOCF.
TMP89FM42K

Related parts for tmp89fm42k