Fujitsu FR60 Hardware Manual page 377

32-bit microcontroller mb91301 series
Hide thumbs Also See for FR60:
Table of Contents

Advertisement

■ Continuous Conversion Mode
This mode sequentially converts the analog input defined by the ANS and ANE bits, returns to
the analog input of ANS after performing the conversion up to the end channel defined by the
ANE bit, and continues the A/D conversion operation.
The one-channel conversion operation is continued if the start and end channels are the same
(ANS=ANE).
Example:
If ANS=000
Beginning --> AN0 --> AN1 --> AN2 --> AN3 --> AN0 -->-->-->--> Repeated
If ANS=010
Beginning --> AN2 --> AN2 --> AN2 -->-->-->--> Repeated
Continuous conversion mode continues to repeatedly perform conversion until "0" is written to
the BUSY bit. Write "0" to the BUSY bit to forcibly terminate operation. Be careful when you
forcibly terminate the operation because the conversion in progress is stopped before it is
completed. If operation is forcibly terminated, the conversion register holds the previous data
that has been converted.
When interrupts are enabled (INTE=1), the A/D converter is suspended until the interrupt is
cleared after conversion of all the channels selected from among ANS2 to ANS0 is completed
once. Clearing the interrupt resumes the conversion.
■ Stop Conversion Mode
This mode sequentially converts the analog input specified by the ANS and ANE bits and
temporarily stops operation each time conversion has been performed for one channel. To clear
the temporary stop, start A/D conversion again.
This mode returns to the analog input of ANS after performing conversion up to the end channel
specified by the ANE bit and then continues the A/D conversion operation.
The one-channel conversion operation is performed if the start and end channels are the same
(ANS=ANE).
Example:
ANS=000
Beginning -->AN0 --> Stop --> Start --> AN1 --> Stop --> Start --> AN2 --> Stop -->
Start --> AN3 --> Stop --> Start -->AN0 -->-->-->--> Repeated
If ANS=010
Beginning --> AN2 --> Stop --> Start --> AN2 --> Stop --> Start --> AN2
-->-->-->--> Repeated
Only start sources specified by STS1 and STS0 are used at this time.
Use this mode to synchronize the beginning of conversion.
, ANE=011
:
B
B
, ANE=010
:
B
B
, ANE=011
B
B
, ANE=010
:
B
B
CHAPTER 12 A/D CONVERTER
357

Advertisement

Table of Contents
loading

Table of Contents