Fujitsu F2MC-16LX MB90580 Series Hardware Manual page 244

16-bit microcontrollers
Hide thumbs Also See for F2MC-16LX MB90580 Series:
Table of Contents

Advertisement

16.3 Registers and Register Details
[bits 7 and 6] MD1 and MD0 (A/D converter mode set):
These bits are used to set the A/D converter operation mode.
MD1
0
0
1
1
Single mode:
Continuous mode: A/D conversion is repeatedly performed from the channel specified with ANS2 to
Stop mode:
Upon a reset, these bits are initialized to '00.'
Note: When activated in continuous or stop mode, A/D conversion continues until it is
stopped by the BUSY bit.
Note: The conversion is stopped by writing '0' to the BUSY bit.
Note: In single, continuous, or stop mode, reactivation is disabled regardless of the activa-
tion factor (timer, external trigger, or software).
[bits 5, 4, and 3] ANS2, ANS1, and ANS0 (Analog start channel set):
Use these bits to specify the start channel for A/D conversion.
When the A/D converter is activated, A/D conversion starts from the channel selected with these bits.
* Read
During A/D conversion, the current conversion channel is read from these bits. If the system is stopped
in stop mode, the previous conversion channel is read.
* Upon a reset, these bits are initialized to '000.'
224
Chapter 16: A/D Converter
MD0
0
Single mode. Reactivation during operation is allowed.
1
Single mode. Reactivation during operation is not allowed.
Continuous mode. Reactivation during operation is not
0
allowed.
1
Stop mode. Reactivation during operation is not allowed.
A/D conversion is continuously performed from the channel specified with ANS2 to
ANS0 to the channel specified with ANE2 to ANE0. The conversion stops once it has
been done for all these channels.
ANS0 to the channel specified with ANE2 to ANE0.
A/D conversion is performed from the channel specified with ANS2 to ANS0 to the
channel specified with ANE2 to ANE0, pausing for each channel. The A/D conversion
is resumed upon an activation factor.
ANS2
ANS1
ANS0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Operation mode
Start channel
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
MB90580 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx mb90v580F2mc-16lx mb90583F2mc-16lx mb90f583

Table of Contents