EM78P5840/5841/5842
8-bit Micro-controller
0 Î disable pull high function.
1 Î enable pull high function
IOC8 (Unused), not allowed to use
IOC9 (PORT9 I/O control, PORT9 switches)
PAGE0 (PORT9 I/O control register)
7
6
5
4
3
2
1
0
IOC97
R/W-1
IOC96
R/W-1
IOC95
R/W-1
IOC94
R/W-1
IOC93
R/W-1
IOC92
R/W-1
IOC91
R/W-1
IOC90
R/W-1
Bit 0 ~ Bit 7 (IOC90 ~ IOC97) : PORT9(0~7) I/O direction control register
0 Î put the relative I/O pin as output
1 Î put the relative I/O pin into high impedance
PAGE1 (Unused)
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
**These 8 bits must clear to 0 or Port9 input or output function will wronging
IOCA (Unused)
PAGE0(undefined) not allowed to use
PAGE1 Unused
7
X
-
6
0
5
X
-
4
X
-
3
0
2
X
-
1
0
AD8S
AD7S
R/W
R/W
R/W-0
R/W-0
Bit 0(AD7S) : Select normal I/O PORT92 pin or channel 7 input AD7 pin of ADC
0 Î P92 (I/O PORT92) pin is selected
1 Î AD7 (Channel 7 input of ADC) pin is selected
Bit 1(AD8S) : Select normal I/O PORT93 pin or channel 8 input AD8 pin of ADC
0 Î P93 (I/O PORT93) pin is selected
1 Î AD8 (Channel 8 input of ADC) pin is selected
Bit3 , Bit6 (Unused) : These 2 bits must clear to 0 or MCU power consumption will increase.
Bit2 ~ Bit7 are undefined register, they are not allowed to use.
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
20
2004/11/10 V2.6