English
Language : 

W78IRD2 Datasheet, PDF (21/76 Pages) Winbond – 8-BIT MICROCONTROLLER
W78IRD2
BIT
NAME
FUNCTION
P41FUN1
7, 6
P4.1 function control bits, similar to P43FUN1 and P43FUN0 below.
P41FUN0
5, 4
P41CMP1 P4.1 address-comparator length control bits, similar to P43CMP1 and
P41CMP0 P43CMP0 below.
P40FUN1
3, 2
P4.0 function control bits, similar to P43FUN1 and P43FUN0 below.
P40FUN0
1, 0
P40CMP1 P4.0 address-comparator length control bits, similar to P43CMP1 and
P40CMP0 P43CMP0 below.
Port 4 Control Register B
Bit:
7
6
5
4
3
2
1
0
P43FUN1 P43FUN0 P43CMP1 P43CMP0 P42FUN1 P42FUN0 P42CMP1 P42CMP0
Mnemonic: P4CONB Address: C3h
BIT
NAME
FUNCTION
00: Mode 0. P4.3 is a general purpose I/O port, like Port 1.
01: Mode 1. P4.3 is a read-strobe signal for chip-select purposes. The
address range depends on SFR P43AH, P43AL, P43CMP1 and
P43CMP0.
7, 6 P43FUN1 10: Mode 2. P4.3 is a write-strobe signal for chip-select purposes. The
P43FUN0
address range depends on SFR P43AH, P43AL, P43CMP1 and
P43CMP0.
11: Mode 3. P4.3 is a read/write-strobe signal for chip-select purposes. The
address range depends on SFR P43AH, P43AL, P43CMP1, and
P43CMP0.
Chip-select signal address comparison:
00: Compare the full 16-bit address with P43AH and P43AL.
P43CMP1
5, 4
01: Compare the 15 MSB of the 16-bit address with P43AH and P43AL.
P43CMP0
10: Compare the 14 MSB of the 16-bit address with P43AH and P43AL.
11: Compare the 8 MSB of the 16-bit address with P43AH.
P42FUN1
3, 2
P4.2 function control bits, similar to P43FUN1 and P43FUN0 above.
P42FUN0
1, 0
P42CMP1 P4.2 address-comparator length control bits, similar to P43CMP1 and
P42CMP0 P43CMP0 above.
- 21 -
Publication Release Date: October 2, 2006
Revision A7