Control Status Register 1 (Adcs1) - Fujitsu F2MC-16LX Hardware Manual

Mb90470 series 16-bit microcontroller
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

19.2.1 Control Status Register 1 (ADCS1)

The Control Status Register 1 (ADCS1) controls the A/D converter and displays the
status of operation.
I Control status register 1 (ADCS1)
The bit configuration of the Control Status Register 1 (ADCS1) is illustrated below.
ADCS1
Address: 000046
Note:
Do not rewrite Control Status Register 1 (ADCS1) during A/D conversion.
The function of each bit of the Control Status Register (ADCS1) is described below.
[Bits 7, 6] MD1, MD0: A/D converter MoDe set (operation mode)
These bits specify the operation mode. Operation modes that can be selected are shown
below.
MD1, MD0
00
01
10
11
The functions of each mode are as follows:
Single mode: A/D conversion is continuously performed from the specified channels in the
range of ANS2 to ANS0, to the specified channels in the range of ANE2 to ANE0. Operation
stops when one cycle of conversion operations ends.
Continuous mode: A/D conversion is repeated from the specified channels in the range of
ANS2 to ANS0, to the specified channels in the range of ANE2 to ANE0.
Stop mode: A/D conversion is performed from the specified channels in the range of ANS2
to ANS0, to the specified channels in the range of ANE2 to ANE0. After that, operation
stops. Resuming conversion is triggered by a start source.
These bits are initialized to "00" at reset. Each operation mode operates as follows:
After start of A/D conversion in continuous or stop mode, conversion will continue until
operation is stopped via the BUSY bit.
Operation in each operation mode is stopped by setting the BUSY bit to "0".
"Restart disable" in the single, continuous, and stop modes affects all start operations by
timer, external trigger, and software.
bit
7
6
5
MD1 MD0 ANS2 ANS1 ANS0 ANE2 ANE1 ANE0
H
0
0
0
R/W
R/W
R/W R/W R/W
Single mode, all ongoing operations can be restarted
Single mode, ongoing operations cannot be restarted
Continuous mode, ongoing operations cannot be restarted
Stop mode, ongoing operations cannot be restarted
CHAPTER 19 8/10-BIT A/D CONVERTER
4
3
2
1
0
0
0
0
R/W
R/W R/W
Operation mode
0
0
Initial value
Bit attribute
359

Advertisement

Table of Contents
loading

Table of Contents