TMP92CF30
2009-06-12
92CF30-533
3.22.2.5 Top-Priority Conversion Mode
The ADC can perform a Top-priority AD conversion while it is performing a normal
AD conversion sequence. A Top-priority AD conversion can be started at software by
setting the ADMOD2<HADS> to “1”. It is also triggered by a hardware trigger if so
enabled using ADMOD2<HTSEL1:0>. If a Top-priority AD conversion is triggered
during a normal AD conversion, the ADC aborts any ongoing conversion immediately,
and then begins a single Top-priority AD conversion for the channel specified with the
ADMOD3<HADC2:0>. Upon the completion of the Top-priority AD conversion, the
ADC stores the results of the conversion in the ADREGSPH/L, generates the
Top-priority AD conversion interrupt (INTADHP), and then resumes the suspended
normal conversion with that channel. While a Top-priority conversion is being
performed, a trigger for another Top-priority conversion is ignored.
Example: When AN5 top-priority AD conversion is started up with ADMOD3<HADCH2:0>
=
“101” during repeat scan
conversion at channels AN0 to AN3 with ADMOD1<REPEAT, SCAN>
=
“11” and ADMOD1<ADCH2:0>
=
“011”
3.22.2.6 AD Monitor Function
Setting ADMOD4<CMEN1:0> to “1” enables the AD monitoring function.
The value of Result storage register that is appointed by ADMOD5 is compared with
the value of AD conversion result register (H/L), ADMOD4<CMP1C:0C> can select
greater or smaller of comparison format. As register ADMOD4<IRQEN1:0> is Enable,
This comparison operation is performed each time when a result is stored in the
corresponding conversion result storage register. When conditions are met, the
interrupt is generated. Be careful that the storage registers assigned for the AD
monitoring function are usually not ready by software, which means that the overrun
flag <OVRx> is always set and the conversion result storage flag <ADRxRF> is also
set.
If each of them is assigned to separate channels, the monitoring of greater or
smaller is possible in the two analog channels. In addition, if assigned to the same
channels, the monitoring with the voltage range set is possible.
3.22.2.7 AD Conversion Time
One AD conversion takes 120 clocks including sampling clocks. The AD conversion
clock is selected from 1/1 to 1/7 f
IO
by ADCLK <ADCLK2:0>. To meet the guaranteed
accuracy, the AD conversion clock needs to be set to 12 MHz or less; or equivalently 10
μ
s or more of AD conversion time.
AN0 AN1 AN2 AN5 AN2 AN3 AN0
Top-priority AD
conversion start trigger
Conversion channel
AN2 conversion
canceled
AN5 conversion started
AN2 re-conversion
started
Содержание 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 ...