W78E58BP-40 Nuvoton Technology Corporation of America, W78E58BP-40 Datasheet - Page 10

no-image

W78E58BP-40

Manufacturer Part Number
W78E58BP-40
Description
Manufacturer
Nuvoton Technology Corporation of America
Datasheet

Specifications of W78E58BP-40

Lead Free Status / Rohs Status
Supplier Unconfirmed

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W78E58BP-40
Manufacturer:
WINBOND
Quantity:
5 530
Part Number:
W78E58BP-40
Manufacturer:
WINBOND
Quantity:
5 120
Part Number:
W78E58BP-40
Manufacturer:
RAMTRON
Quantity:
48
Part Number:
W78E58BP-40
Quantity:
2 781
Part Number:
W78E58BP-40
Manufacturer:
WINBOND/华邦
Quantity:
20 000
5.9
Port 4, address D8H, is a 4-bit multipurpose programmable I/O port. Each bit can be configured
individually by software. The Port 4 has four different operation modes.
Mode 0: P4.0 − P4.3 is a bi-directional I/O port which is same as port 1. P4.2 and P4.3 also serve as
Mode 1: P4.0 − P4.3 are read strobe signals that are synchronized with RD signal at specified
Mode 2: P4.0 − P4.3 are write strobe signals that are synchronized with WR signal at specified
Mode 3: P4.0 − P4.3 are read/write strobe signals that are synchronized with RD or WR signal at
When Port 4 is configured with the feature of chip-select signals, the chip-select signal address range
depends on the contents of the SFR P4xAH, P4xAL, P4CONA and P4CONB. The registers P4xAH
and P4xAL contain the 16-bit base address of P4.x. The registers P4CONA and P4CONB contain the
control bits to configure the Port 4 operation mode.
5.10
Two additional external interrupts, INT2 and INT3 , whose functions are similar to those of external
interrupt 0 and 1 in the standard 80C52. The functions/status of these interrupts are
determined/shown by the bits in the XICON (External Interrupt Control) register. The XICON register is
bit-addressable but is not a standard register in the standard 80C52. Its address is at 0C0H. To
set/clear bits in the XICON register, one can use the "SETB ( CLR ) bit" instruction. For example,
"SETB 0C2H" sets the EX2 bit of XICON.
XICON - external interrupt control (C0H)
PX3: External interrupt 3 priority high if set
EX3: External interrupt 3 enable if set
IE3: If IT3 = 1, IE3 is set/cleared automatically by hardware when interrupt is detected/serviced
IT3: External interrupt 3 is falling-edge/low-level triggered when this bit is set/cleared by software
PX2: External interrupt 2 priority high if set
EX2: External interrupt 2 enable if set
IE2: If IT2 = 1, IE2 is set/cleared automatically by hardware when interrupt is detected/serviced
IT2: External interrupt 2 is falling-edge/low-level triggered when this bit is set/cleared by software
PX3
Port 4
INT2
external interrupt INT3 and NT2
addresses. These signals can be used as chip-select signals for external peripherals.
addresses. These signals can be used as chip-select signals for external peripherals.
specified addresses. These signals can be used as chip-select signals for external
peripherals.
/
I
NT3
EX3
IE3
I
IT3
if enabled.
- 10 -
PX2
W78E58B/W78E058B
Publication Release Date: April 22, 2008
EX2
IE2
Revision A9
IT2

Related parts for W78E58BP-40