TMP92CF30
2009-06-12
92CF30-531
3.22.2.4 AD Conversion Modes and AD Conversion-End Interrupts
For AD conversion, the following four operation modes are provided: For normal AD
conversion, selection is available by setting ADMOD1<REPEAT and SCAN>. As for
top-priority AD conversion, only single conversion mode by channel-fix mode is
available.
a. Channel-fix single conversion mode
b. Channel-scan single conversion mode
c. Channel-fix repeat conversion mode
d. Channel-scan repeat conversion mode
(1)
Normal AD conversion
To select operation modes, use ADMOD1<REPEAT, SCAN>. After AD conversion is
started, ADMOD0<BUSY> is set to “1.” When a specified AD conversion ends, the
Normal AD conversion end interrupt (INTAD) is generated, which sets “1” in
ADMOD0<EOS> is set “1”, that shows the end of the AD conversion sequence.
a. Channel-fix single conversion mode
Setting ADMOD1<REPEAT, SCAN> to “00” selects the channel-fix single
conversion mode.
This mode performs a conversion only one time at one channel selected. After
conversion ends, ADMOD0<EOS> is set to “1,” generating Normal AD conversion
End an INTAD interrupt request. <EOS> is cleared to “0” only by being read.
b. Channel-scan single conversion mode
Setting ADMOD1<REPEAT, SCAN> to “01” selects the channel-scan single
conversion mode.
This mode performs a conversion only one time at each scan channel selected.
After scan conversion ends, ADMOD0<EOS> is set to “1,” generating Normal AD
conversion End interrupt request. <EOS> is cleared to “0” only by being read.
c. Channel-fix repeat conversion mode
Setting ADMOD1<REPEAT, SCAN> to “10” selects the channel-fix repeat
conversion mode.
This mode performs a conversion at one channel selected repeatedly. After
conversion ends, ADMOD0<EOS> is set to “1.” The timing of Normal AD
conversion End INTAD interrupt request generation can be selected by setting
ADMOD1 <ITM>. The timing of <EOS> being set is also liked to the interrupt
timing.
ADMOD0<EOS> is cleared to “0” only by being read.
Setting <ITM> to “0” generates an interrupt request each time an AD
conversion ends. In this case, conversion results are always stored into the storage
register of ADREGxH/L. At the point of storage, <EOS> is set to 1.
Setting <ITM> to “1” generates an interrupt request each time four AD
conversions end. In this case, conversion results are stored into the storage
registers of ADREG0H/L to ADREG3H/L one after another. After stored into
ADREG3, <EOS> is set to “1,” restarting storage from ADREG0. ADMOD0<EOS>
is set to “1” after a forth conversion result is stored. <EOS> is cleared to “0” only
by being read.
Содержание 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 ...