Fujitsu FR60 Hardware Manual page 371

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

Advertisement

Notes:
Since start sources change at the same time that rewriting occurs, be careful when this bit is
rewritten during the A/D conversion operation.
• An external pin trigger is detected at a falling edge. If this bit is rewritten to select starting due to
an external trigger while the external trigger input level is set to "L", the A/D converter may be
started.
• While a timer is selected, a rising edge of the reload timer channel 2 is selected. If this bit is
rewritten to select starting due to a timer while the reload timer output level is set to "H", the A/D
converter may be started.
[bit9] STRT (STaRT)
Write "1" to this bit to start the A/D converter. If the system is restarted, write to this bit again.
In stop mode, restart is disabled because of the nature of the function.
This bit is initialized to "0" by a reset.
Do not forcibly terminate operation and start a software program at the same time (BUSY=0,
STRT=1).
For a read by a read-modify-write instruction, "0" is read.
Wait for at least 10ms until external capacitor is charged at power on, after reset, or after
returning from stop mode.
[bit8] Test bit
This bit is used for testing. For a write, write "0".
[bit7, bit6] MD1,MD0 (A/D converter MoDe set)
These bits select the operating mode.
Table 12.2-4 shows the settings for the operating modes.
Table 12.2-4 Operating Mode Settings
MD1
0
0
1
1
Single-shot mode: Performs A/D conversion from the channels specified by ANS2 to ANS0
Continuous mode: Repeatedly performs A/D conversion from the channels specified by
Stop mode:
MD0
0
Restart enabled both in single-shot mode and during operation
1
Restart disabled both in single-shot mode and during operation
0
Restart disabled both in continuous mode and during operation
1
Restart disabled both in stop mode and during operation
to the channels specified by ANE2 to ANE0. Stops when one conversion
session is completed.
ANS2 to ANS0 to the channels specified by ANE2 to ANE0. However,
when the interrupt is enabled (INTE = 1), a conversion for all setting
channel of ANS2 to ANS0 is completed and, temporarily stops until the
interrupt is cleared. Clearing the interrupt restarts the conversion.
Performs A/D conversion from each of the channels specified by ANS2 to
ANS0 to each of the channels specified by ANE2 to ANE0 and then
temporarily stops. The conversion is restarted when a start source
occurs.
CHAPTER 12 A/D CONVERTER
Function
351

Advertisement

Table of Contents
loading

Table of Contents