287
CHAPTER 18 8/10-BIT A/D CONVERTER
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
(ADER1)
■
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)
AD
S
EL ADE14 ADE1
3
ADE12 ADE11 ADE10 ADE9
ADE
8
Initi
a
l v
a
l
u
e
01111111
B
Addre
ss
00000D
H
b
it14
b
it15
b
it1
3
b
it12
b
it11
b
it10
b
it9
b
it
8
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
AD
S
EL
A/D converter inp
u
t
s
election
b
it
0
AN0 to AN7 (Port 6)
a
re
s
elected
as
inp
u
t
s
.
1
AN
8
to AN14 (Port B)
a
re
s
elected
as
inp
u
t
s
.
ADEx
0
1
An
a
log inp
u
t mode (Initi
a
l v
a
l
u
e).
R/W :
Re
a
d
ab
le
a
nd writ
ab
le
: Initi
a
l v
a
l
u
e
An
a
log inp
u
t en
ab
le
b
it
s
Port inp
u
t mode (Port B).
ADE7
ADE6
ADE5
ADE4
ADE3
ADE2
ADE1
ADE0
Initial value
11111111
B
Address
00000C
H
bit6
bit7
bit5
bit4
bit3
bit2
bit1
bit0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
ADEx
Analog input enable bits
0
Port input mode (Port 6).
1
Analog input mode (Initial value).
R/W :
Readable and
w
ritable
: Initial value
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......