English
Language : 

W78E516DDG Datasheet, PDF (30/90 Pages) Nuvotem Talema – 8-BIT MICROCONTROLLER
W78E516D/W78E058D Data Sheet
Bit: 7
6
5
4
3
2
1
0
P41FUN1 P41FUN0 P41CMP1 P41CMP0 P40FUN1 P40FUN0 P40CMP1 P40CMP0
Mnemonic: P4CONA
Address: C2h
BIT NAME
FUNCTION
7,6 P41FUN1 00: Mode 0. P4.1 is a general purpose I/O port which is the same as Port1.
P41FUN0 01: Mode 1. P4.1is a Read Strobe signal for chip select purpose. The address
range depends on the SFR P41AH, P41AL, P41CMP1 and P41CMP0.
10: Mode 2. P4.1 is a Write Strobe signal for chip select purpose. The address
range depends on the SFR P41AH,P41AL,P41CMP1 and P41CMP0.
11: Mode 3. P4.1 is a Read/Write Strobe signal for chip select purpose. The ad-
dress range depends on the SFR P41AH, P41AL, P41CMP1, and P41CMP0.
5,4 P41CMP1 Chip-select signals address comparison:
P41CMP0 00: Compare the full address (16 bits length) with the base address register
P41AH, P41AL.
01: Compare the 15 high bits (A15-A1) of address bus with the base address
register P41AH, P41AL.
10: Compare the 14 high bits (A15-A2) of address bus with the base address
register P41AH, P41AL.
11: Compare the 8 high bits (A15-A8) of address bus with the base address reg-
ister P41AH, P41AL.
3,2 P40FUN1 The P4.0 function control bits which are the similar definition as P40FUN1,
P40FUN0 P40FUN0. .
1,0 P40CMP1 The P4.0 address comparator length control bits which are the similar definition
P40CMP0 as P40CMP, P40CMP0.
Port 4 control B
Bit: 7
6
5
4
3
2
1
0
P43FUN1 P43FUN0 P43CMP1 P43CMP0 P42FUN1 P42FUN0 P42CMP1 P42CMP0
Mnemonic: P4CONB
Address: C3h
BIT NAME
7,6 P43FUN1
P43FUN0
5,4 P43CMP1
P43CMP0
3,2 P42FUN1
P42FUN0
1,0 P42CMP1
P42CMP0
FUNCTION
The P4.3 function control bits which are the similar definition as P43FUN1, P43FUN0. .
The P4.3 address comparator length control bits which are the similar definition as
P43CMP1,P43CMP0.
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.
SFR program of address low
Bit: 7
6
5
SFRAL.7 SFRAL.6 SFRAL.5
4
SFRAL.4
3
SFRAL.3
2
SFRAL.2
1
SFRAL.1
0
SFRAL.0
- 30 -