Analog Input Enable / A/D Converter Select Register - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

18.4.1

Analog Input Enable / A/D Converter Select Register

The MB90390 series has 15 analog inputs but only one A/D converter with 8 inputs.
Therefore, the special bit ADSEL can be used to select the analog input channels.
■ Upper Bits of the Analog Input Enable / A/D Converter Select Register (ADER1)
Figure 18.4-2 Configuration of the Upper Bits of Analog Input Enable / A/D Converter Select Register
bit15
Address
ADSEL ADE14 ADE13 ADE12 ADE11 ADE10 ADE9
00000D
H
R/W
R/W : Readable and writable
: Initial value
■ Lower Bits of the Analog Input Enable Register (ADER0)
Figure 18.4-3 Configuration of the Lower Bits of the Analog Input Enable Register (ADER0)
bit7
Address
ADE7
00000C
H
R/W
R/W : Readable and writable
: Initial value
bit14
bit13
bit12
bit11
R/W
R/W
R/W
R/W
bit6
bit5
bit4
bit3
ADE6
ADE5
ADE4
ADE3
R/W
R/W
R/W
R/W
CHAPTER 18 8/10-BIT A/D CONVERTER
(ADER1)
bit10
bit9
bit8
ADE8
R/W
R/W
R/W
ADEx
Analog input enable bits
0
Port input mode (Port B).
1
Analog input mode (Initial value).
ADSEL
A/D converter input selection bit
0
AN0 to AN7 (Port 6) are selected as inputs.
1
AN8 to AN14 (Port B) are selected as inputs.
bit2
bit1
bit0
ADE2
ADE1
ADE0
R/W
R/W
R/W
ADEx
Analog input enable bits
0
Port input mode (Port 6).
1
Analog input mode (Initial value).
Initial value
01111111
B
Initial value
11111111
B
287

Advertisement

Table of Contents
loading

Table of Contents