TMP92CF30
2009-06-12
92CF30-532
d. Channel-scan repeat conversion mode
Setting ADMOD1<REPEAT, SCAN> to “11” selects the channel-scan repeat
conversion mode.
This mode performs a conversion at selected scan channels repeatedly. Each
time after the conversion at a final channel ends, ADMOD0<EOS> is set to “1,”
generating Normal AD conversion End interrupt request. <EOS> is cleared to “0”
only by being read.
To stop the repeat conversion mode (mode of c and d) operation, write “0” in
ADMOD1<REPEAT>. At the point when a scan conversion being executed ends,
the repeat conversion mode ends.
Shift to a standby mode (IDLE2 Mode with ADMOD0<I2AD>
=
“0”, IDLE1
Mode or STOP Mode) immediately stops operation of the AD converter even if AD
conversion is still in progress. Therefore, ADC may consume current even if
operation is stopped, depending on stop condition of ADC that switches to standby
mode. For avoiding this problem, Stop ADC before switching to standby mode.
(2)
Top-priority AD conversion
The operation mode is only single conversion by channel-fix mode. The settings in
ADMOD1<REPEAT, SCAN> are not involved.
When startup conditions are established, a conversion at a channel specified by
ADMOD3<HADCH2:0> is performed only one time. When conversion ends, the
top-priority AD conversion end interrupt (INTADHP) is generated, which sets “1” in
ADMOD2<HEOS>. The HEOS flag is cleared to “0” only by being read.
Table 3.22.1 Interrupt Generation Timing and Flag Setting in Each AD Conversion Mode
ADMOD1
Conversion mode
Interrupt
Generation
Timing
EOS set timing
(Note)
ITM REPEAT
SCAN
Channel-fix
Single conversion
After conversion
end
After conversion
end
−
0 0
Per one
conversion
Each time after
one conversion
ends
0
Channel-fix
Repeat conversion
Per four
conversions
Each time after
four conversions
end
1
1 0
Channel-scan
Single conversion
After scan
conversion end
After scan
conversion end
−
0 1
Channel-scan
Repeat conversion
Each time after
one scan
conversion ends
Each time after
one scan
conversion ends
−
1 1
Note: EOS is cleared to “0” only by reading this bit.
Summary of Contents for TLCS-900/H1 Series
Page 652: ...TMP92CF30 2009 06 12 92CF30 650 ...