Toshiba H1 SERIES TLCS-900 User Manual
Page 210
TMP92CM22
2007-02-16
92CM22-208
3. Channel fixed repeat conversion mode
Setting ADMOD0
channel fixed repeat conversion mode.
In this mode data on one specified channel is converted repeatedly. When
conversion has been completed, ADMOD0
ADMOD0
generation timing is determined by the setting of ADMOD0
Clearing
conversion is completed.
Setting
fourth conversion.
4. Channel scan repeat conversion mode
Setting ADMOD0
channel scan repeat conversion mode.
In this mode data on the specified scan channels is converted repeatedly. When
each scan conversion has been completed, ADMOD0
INTAD interrupt request is generated. ADMOD0
held at “1”.
To stop conversion in a repeat conversion mode (e.g., in cases c and d), program
a "0” to ADMOD0
the repeat conversion mode terminates and ADMOD0
Switching to a halt state (IDLE2 mode with ADMOD1
IDLE1 mode or STOP mode) immediately stops operation of the AD converter
even when AD conversion is still in progress. In repeat conversion modes (e.g., in
cases c and d), when the halt is released, conversion restarts from the beginning.
In single conversion modes (e.g., in cases a and b), conversion does not restart
when the halt is released (The converter remains stopped).
Table 3.11.2 shows the relationship between the AD conversion modes and
interrupt requests.
Table 3.11.2 Relationship between the AD Conversion Modes and Interrupt Requests AD
ADMOD0
Mode
Interrupt Request
Generation
Channel fixed single
conversion mode
After completion of
conversion
X 0 0
Channel scan single
conversion mode
After completion of scan
conversion
X 0 1
Every conversion
0
Channel fixed repeat
conversion mode
Every forth conversion
1
1 0
Channel scan repeat
conversion mode
After completion of every
scan conversion
X 1 1
X: Don’t care