Table 11.2-2 Selecting The A/D Converter Operation Mode - Fujitsu MB91F109 FR30 Hardware Manual

Fr30 series 32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 11 A/D CONVERTER (Successive approximation type)
<Notes>
The external pin trigger signal is detected on the falling edge.
If the bit setting is changed to select an external trigger mode while the external trigger input
level is low, the A/D converter may start.
In timer start mode, reload timer channel 2 is selected. If the bit setting is changed to select a
timer start mode while the reload timer output level is high, the A/D converter may start.
[bit 9] STRT (STaRT)
Setting this bit to "1" starts the A/D converter.
To restart the A/D converter, set the bit again to"1".
Setting the bit to "1" in convert-and-stop mode does not start the A/D converter with the
operating function.
The bit is cleared when the register is reset.
Do not perform forced termination and start-by-software simultaneously (BUSY = 0, STRT =
1).
A Read Modify Write instruction reads "0" from this bit.
[bit 8]
Bit 8 is a test bit. Set this bit to "0" in write mode.
[bit 7, 6] MD1, MD0 (A/D converter MoDe set)
Select the operating mode.

Table 11.2-2 Selecting the A/D Converter Operation Mode

MD1
0
0
1
1
Single conversion mode:
Continuous conversion
mode:
Convert-and-stop mode:
These bits are initialized to "00" by a reset.
272
MD0
0
Single conversion mode, in which restart in any mode is enabled
during operation
1
Single conversion mode, in which no restart is enabled during
operation
0
Continuous conversion mode, in which no restart is enabled during
operation
1
Convert-and-stop mode, in which no restart is enabled during
operation
A/D conversion is performed continuously from the ANS2 to
ANS0 setting channels to the ANE2 to ANE0 setting channels
and stops after one cycle of operation.
A/D conversion is performed from the ANS2 to ANS0 setting
channels to the ANE2 to ANE0 setting channels and is
repeated.
A/D conversion is performed from the ANS2 to ANS0 setting
channels to the ANE2 to ANE0 setting channels in such a mode
that A/D conversion stops when conversion for one channel is
finished. A/D conversion is restarted by the specified start
cause.
Operation mode

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91f109

Table of Contents