Analog Input Enable Register - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

10.2.3

Analog Input Enable Register

This register controls the port 6 and port B pins as described below:
0: Port input/output mode
1: Analog input mode
If an external pin is used as an analog input for the A/D converter, the corresponding bit
should be set to "1".
■ Analog Input Enable Registers
Figure 10.2-4 shows the analog input enable register.
Address:
15
bit
00000D
ADSEL ADE14 ADE13 ADE12 ADE11 ADE10 ADE9 ADE8
H
00000C
H
R/W
Initial value:
0
Note:
If bit15 (ADSEL) is set to "0" the pins AN0 to AN7 (Port P60 to P67) are selected as inputs for the
A/D Converter. If this bit is set to "1" the pins AN8 to AN14 (Port PB0 to PB6) are selected as inputs
for the A/D Converter.
Figure 10.2-4 Analog Input Enable Registers (ADER1/ADER0)
14
13
12
11
10
R/W R/W
R/W
R/W
R/W
1
1
1
1
1
9
8
7
6
5
ADE7 ADE6 ADE5 ADE4 ADE3 ADE2 ADE1 ADE0
R/W
R/W
R/W
R/W R/W
1
1
1
1
1
CHAPTER 10 I/O PORTS
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
1
1
1
1
1
ADER1/ADER0
175

Advertisement

Table of Contents
loading

Table of Contents