Fujitsu MB91260B Series Hardware Manual page 347

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 8/10-BIT A/D CONVERTER
Table 14.4-1 Functions of Each Bits in A/D Channel Control Register (ADCH)
Bit Name
bit15
Unused bits
bit14
bit13
ANS2 to ANS0:
to
A/D conversion start
bit11
channel selection bits
bit10
ANE2 to ANE0:
to
A/D conversion end
bit8
channel selection bits
332
• The read value is indeterminate.
• Writing to these bits have no effect to operation.
• These bits set the start channel of the A/D conversion and indicate the channel numbers
under A/D conversion during conversion operation.
• When A/D conversion is activated, A/D conversion starts from the channels written to
these bits.
• Channel numbers under the conversion can be read during the A/D conversion. The
channel number converted immediately before can be read during the suspension in the
pause conversion mode.
• These bits set the end channel of the A/D conversion.
• A/D conversion is performed up to the specified channel.
• When the same channels with ANS2 to ANS0 are set, only those channels are
converted. If continuous conversion mode or stop conversion mode is set, when the
conversion up to the channels specified in these bits is completed, conversion returns to
the start channel set in ANS2 to ANS0. If the setting of the start channel is greater than
the end channel, conversion is performed from the start channel to AN7, then from AN0
to the end channel, after which the first conversion operation is completed.
Note:
After setting the start channel to the A/D conversion start channel selection bit (ANS2 to
ANS0), please set neither the A/D conversion mode selection bit (MD1, MD0) nor the
A/D conversion end channel selection bit (ANE2 to ANE0) by the read-modify-write
type instruction.
The last conversion channel is read from the ANS2 to ANS0 bits until the A/D
conversion operating starts. Therefore, when the MD1, MD0 bits and ANE2 to ANE0
bits are set by the read-modify-write type instruction after setting the start channel to the
ANS2 to ANS0 bits, the value of ANE2 to ANE0 bits may be re-written.
Function

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60lite

Table of Contents