Control Status Register (Adcs) - Fujitsu MB91F109 FR30 Hardware Manual

Fr30 series 32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 11 A/D CONVERTER (Successive approximation type)

11.2 Control Status Register (ADCS)

The control status register (ADCS) controls the A/D converter and displays status
information.
Do not rewrite the ADCS during A/D conversion. Do not use a Read Modify Write
(RMW) instruction to access it.
Configuration of Control Status Register (ADCS)
The configuration of the control status register (ADCS) is shown below:
ADCS
Address:00003A
H
Bit Function of Control Status Register (ADCS)
[bit 15] BUSY (BUSY flag and stop)
Read: This bit indicates whether the A/D converter is operating. The bit is set when A/D
conversion begins and is cleared when the conversion is finished.
Write: Setting this bit to "0" during A/D conversion forcibly stops the operation. The bit is
used for forced termination in continuous conversion or convert-and-stop mode.
The bit indicating information on operation cannot be set to "1". An RMW instruction reads
"1" from the bit.
In single mode, the bit is cleared when A/D conversion is finished.
In continuous conversion or convert-and-stop mode, the bit is not cleared until it is set to "0"
to forcibly terminate A/D conversion.
The bit is initialized to "0" when the register is reset.
Do not perform forced termination and software activation simultaneously (BUSY = 0, STRT
= 1).
[bit 14] INT (INTerrupt)
Data indication bit. This bit is set when conversion data has been written to the ADCR.
When the bit is set while INTE (bit 13) is "1", an interrupt request occurs and DMA starts if
the start of DMA transfer has been selected. Setting the bit to "1" has no effect.
Setting "0" or issuing the clear signal from the DMAC clears the bit.
270
bit
15
14
BUSY INT
INTE
0
0
R/W
R/W
R/W
bit
7
6
MD1
MD0
ANS2 ANS1 ANS0 ANE2 ANE1 ANE0
0
0
R/W
R/W
R/W
13
12
11
10
PAUS STS1
STS0
0
0
0
0
R/W
R/W
R/W
5
4
3
0
0
0
0
R/W
R/W
R/W
9
8
STRT
0
0
W
R/W
2
1
0
0
0
R/W
R/W
Initial value
Bit attribute
Initial value
Bit attribute

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91f109

Table of Contents