NEC UPD703116 User Manual page 649

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) A/D scan mode registers 01 and 11 (ADSCM01, ADSCM11)
The ADSCMn1 registers are 16-bit registers that set the conversion time of the A/D converter.
The ADSCMn1 register can be read/written in 16-bit units.
When the higher 8 bits of the ADSCMn1 register are used as the ADSCMn1H register, and the lower 8 bits
are used as the ADSCMn1L register, the ADSCMn1H register can be read/written in 8-bit or 1-bit units, and
the ADSCMn1L register is read-only, in 8-bit units.
Caution Do not write to the ADSCMn1 registers during A/D conversion operation. If a write is
performed, conversion operation is suspended and subsequently terminates.
15
14
13
12
ADSCM01
0
0
0
0
15
14
13
12
ADSCM11
0
0
0
0
Bit position
Bit name
10 to 8
FR2 to
FR0
CHAPTER 13 A/D CONVERTER
11
10
9
8
7
6
0
FR2
FR1
FR0
0
0
11
10
9
8
7
6
0
FR2
FR1
FR0
0
0
Specifies conversion time.
FR2
FR1
FR0
Conversion Clocks
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Setting prohibited
Note This is the time from sampling until conversion termination.
Sampling time = (Conversion clocks − 8)/6 × f
Caution Be sure to secure the conversion time within a range of 5 to 10
Conversion time = f
Remark f
: Internal system clock
XX
User's Manual U14492EJ5V0UD
5
4
3
2
1
0
0
0
0
0
0
0
5
4
3
2
1
0
0
0
0
0
0
0
Function
Conversion time (
f
= 50 MHz
f
XX
XX
344
6.88
248
176
128
104
80
56
XX
× Conversion clocks
XX
Address
Initial value
FFFFF202H
0000H
Address
Initial value
FFFFF242H
0000H
µ
Note
s)
= 40 MHz
f
= 33 MHz
XX
8.60
6.20
7.51
5.33
µ
s.
649

Advertisement

Table of Contents
loading

Table of Contents