(3) Stop mode
In this mode, the converter sequentially converts the analog inputs specified with the ANS and ANE
bits, pausing each time conversion for one channel is completed. To release pausing, activate the A/D
converter again.
After the conversion is completed for the end channel specified with the ANE bits, conversion is
repeated from the analog inputs of the ANS. If the start and end channels are the same (ANS=ANE),
conversion is performed only for one channel.
Example:
ANS = 0 0 0 , ANE = 0 1 1
Start → AN0 → End → Restart → AN1 → End → Restartë → AN2 → End → Restart →
→ AN3 → End → Restart → AN0
ANS = 0 1 0 , ANE = 0 1 0
Start → AN2 → End → Restart → AN2 → End → Restartë → AN2
Only the activation factors specifies with STS1 and STS0 are used.
In this mode, start of conversion can be synchronized.
(4) Conversion using I
Sample flow from A/D conversion activation to transfer of converted data (continuous mode)
Starting A/D conversion
Sample and hold
Conversion
End of conversion
Issuing interrupt
The portion indicated by the star ( ) is determined according to the I
MB90580 Series
2
OS
Figure 16.4a Flow chart of A/D Conversion
......
→
Repeat
2
Starting I
OS
Transferring data
Clearing interrupt
16.4 Operations
......
→
Repeat
Interrupt processing
2
OS settin
Chapter 16: A/D Converter
229