English
Language : 

IC89E54 Datasheet, PDF (14/36 Pages) Integrated Circuit Solution Inc – 8-BITS SINGLE MICROCONTROLLER with 16/32/64-Kbytes of FLASH, 256 byte +512 byte RAM
IC89E54/58/64
P4CONB (C3H)
B7
Flag Name P43FUN1
B6
B5
B4
P43FUN0 P43CMP1 P43CMP0
B3
P42FUN1
B2
B1
B0
P42FUN0 P42CMP1 P42CMP0
Bit
Name
7,6 P43FUN1
P43FUN0
5.4 P43CMP1
P43CMP0
3,2 P42FUN1
P42FUN0
1,0 P42CMP1
P42CMP0
Description
=00: Mode 0. P4.3 is a general purpose I/O port which is the same as Port 1.
=01: Mode 1. P4.3 is a Read Strobe Signal for chip selecting purpose. The address range depends
on the SFRs P43AH, P43AL and flags P43CMP1, P43CMP0.
=10: Mode 2. P4.3 is a Write Strobe Signal for chip selecting purpose. The address range depends
on the SFRs P43AH, P43AL and flags P43CMP1, P43CMP0.
=11: Mode 3. P4.3 is a Read/Write Strobe Signal for chip selecting purpose. The address range
depends on the SFRs P43AH, P43AL and flags P43CMP1, P43CMP0.
Chip-select signals for address comparison.
=00: Compare the full address (16 bits length) with the base address register P43AH, P43AL.
=01: Compare the 15 high bits (A15-A1) of address bus with the base address register
P43AH, P43AL.
=10: Compare the 14 high bits (A15-A2) of address bus with the base address register
P43AH, P43AL.
=01: Compare the 8 high bits (A15-A8) of address bus with the base address register
P43AH, P43AL.
The P4.2 function control bits which are the similar definition as P42FUN1, P42FUN0.
The P4.2 address comparator length control bits which are the similar definition as P42CMP1,
P42CMP0.
P4CONA (C2H)
B7
Flag Name P41FUN1
B6
P41FUN0
B5
P41CMP1
B4
B3
B2
P41CMP0 P40FUN1 P40FUN0
B1
B0
P40CMP1 P40CMP0
Bit
Name
7,6 P41FUN1
P41FUN0
5,4
P41CMP1
P41CMP0
3,2
P40FUN1
P40FUN0
1,0
P40CMP1
P40CMP0
Description
The P4.1 function control bits which are the similar definition as P41FUN1, P41FUN0.
The P4.1 address comparator length control bits which are the similar definition as P41CMP1,
P41CMP0.
The P4.0 function control bits which are the similar definition as P40FUN1, P40FUN0.
The P4.0 address comparator length control bits which are the similar definition as P40CMP1,
P40CMP0.
14
Integrated C ircuitSolution Inc.
MC012-0C 11/16/2001