
W78LE58/W78L058A
Publication Release Date: December 4, 2006
- 9 -
Revision A6
P4CONB (C3H)
BIT
NAME
FUNCTION
7, 6
P43FUN1
P43FUN0
00: Mode 0. P4.3 is a general purpose I/O port which is the same as Port1.
01: Mode 1. P4.3 is a Read Strobe signal for chip select purpose. The address
range depends on the SFR P43AH, P43AL, P43CMP1 and P43CMP0.
10: Mode 2. P4.3 is a Write Strobe signal for chip select purpose. The address
range depends on the SFR P43AH, P43AL, P43CMP1 and P43CMP0.
11: Mode 3. P4.3 is a Read/Write Strobe signal for chip select purpose. The
address range depends on the SFR P43AH, P43AL, P43CMP1, and
P43CMP0.
5, 4
P43CMP1
P43CMP0
Chip-select signals 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.
11: Compare the 8 high bits (A15
A8) of address bus with the base address
register P43AH, P43AL.
3, 2
P42FUN1
P42FUN0
The P4.2 function control bits which are the similar definition as P43FUN1,
P43FUN0.
1, 0
P42CMP1
P42CMP0
The P4.2 address comparator length control bits which are the similar definition
as P43CMP1, P43CMP0.
P4CONA (C2H)
BIT
NAME
P41FUN1
P41FUN0
FUNCTION
7, 6
The P4.1 function control bits which are the similar definition as P43FUN1,
P43FUN0.
5, 4
P41CMP1
P41CMP0
The P4.1 address comparator length control bits which are the similar definition
as P43CMP1, P43CMP0.
3, 2
P40FUN1
P40FUN0
The P4.0 function control bits which are the similar definition as P43FUN1,
P43FUN0.
1, 0
P40CMP1
P40CMP0
The P4.0 address comparator length control bits which are the similar definition
as P43CMP1, P43CMP0.