Fujitsu MB91260B Series Hardware Manual page 349

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 8/10-BIT A/D CONVERTER
Table 14.4-2 Functions of Each Bit in A/D Mode Setting Register (ADMD) (1 / 2)
Bit Name
MD1, MD0:
bit7
A/D conversion
bit6
mode selection
bits
STS1, STS0:
bit5
A/D start factor
bit4
selection bits
334
• These bits are used to select the conversion mode during the A/D conversion operation.
• Two bit values of MD1 and MD0 allow the selection of either the single conversion mode
1, the single conversion mode 2, the continuous conversion mode, or the stop conversion
mode.
• The meaning of each mode is as follows.
Single conversion mode 1:
Single conversion mode 2:
Continuous conversion mode: Sequentially perform A/D conversion from the channel set in
Stop conversion mode:
Notes:
• Single, continuous, and stop conversion modes that cannot be re-started can be used to
activate all timers, external triggers, and software.
• Only rewrite these bits before conversion begins, with the A/D operation stopped.
• When A/D conversion mode selection bit (MD1,MD0) is set to "00
operating during A/D conversion. Only software start (STS1,STS0="00
this mode. Please restart according to the following procedure.
1. Clear the INT bit to 0.
2. Write STRT bit to 1 and INT bit to 0 at the same time.
When A/D conversion mode selection bit (MD1,MD0) is set to "01
operating during the A/D conversion.
When restarting and termination of the A/D conversion occur at the same time, the A/D
conversion is terminated without restarting. And, value of 300
(ADCR1/ADCR0). Therefore, please use restart so that neither the A/D conversion
restarting nor the terminating may occur at the same time.
• The start factor of A/D conversion is selected.
• When the start factor is in the common use, the first start factor generation starts the
operation.
Note:
The activation trigger changes as soon as the bits are rewritten, so if you wish to rewrite
them while A/D conversion is ongoing, switch to a state where your target activation
trigger does not exist.
Function
The continuous A/D conversion from the setting channels of
ANS2 to ANS0 to the setting channels of ANE2 to ANE0 is
performed only once. It is possible to reactivate while
operating.
The continuous A/D conversion from the setting channels of
ANS2 to ANS0 to the setting channels of ANE2 to ANE0 is
performed only once. It is not possible to reactivate while
operating.
ANS2 to ANS0 to the channel set in ANE2 to ANE0, and
repeat until forcibly stopped by means of the BUSY bit. It is
not possible to reactivate while operating.
Perform A/D conversion from the channel set in ANS2 to
ANS0 to the channel set in ANE2 to ANE0 one channel at a
time, pausing between each, and repeat until forcibly stopped
by means of the BUSY bit. It is not possible to reactivate
while operating. The suspended conversion is restarted by the
start factor occurrence selected by the STS1 and 0 bits.
", restart can be
B
") can be set in
B
", restart can not be
B
is stored in data register
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60lite

Table of Contents