English
Language : 

W925EP01 Datasheet, PDF (26/108 Pages) Winbond – 8-BIT CID MICROCONTROLLER
W925EP01/ W925EP01FG
PORT 5
(initial=FFH)
Bit:
7
6
5
4
3
2
1
0
P5.7 P5.6 P5.5 P5.4 P5.3 P5.2 P5.1 P5.0
Mnemonic: P5
Address: A7h
P5.7-0: Port 5 is an I/O port with internal pull-high resistor. P5 can be selected as input or output
mode by the P5IO register, at initial reset, P5IO is set to 1, P5 is used as input mode. When
P5IO is set to 0, P5 is used as CMOS output mode.
The special function of P5 is as address bus of external program ROM or external data RAM.
The program memory on the standard 8052 can only be addressed to 64KB long. W925EP01
can extend to two 64KB program ROM banks, there are on-chip APROM bank and external
program ROM bank. When PG=1, the P5 pins can be treated as address high bus of external
program ROM. When PG=0, the P5 pins can be treated as normal I/O.
When “MOVC A, @A+DPTR” is executed to read the external ROM data or “MOVX dest, src”
is executed to access the external data RAM, the P5 pins can be treated as address high bus
of external data storages.
INTERRUPT ENABLE
(initial=00H)
Bit:
7
6
5
4
3
2
1
0
EA
ES1
-
ES0 ET1 EX1 ET0 EX0
Mnemonic: IE
EA: Global enable. Enable/disable all interrupts.
ES1: Enable Serial port1 interrupt
ES0: Enable Serial port0 interrupt
ET1: Enable Timer 1 interrupt
EX1: Enable external interrupt 1
ET0: Enable Timer 0 interrupt
EX0: Enable external interrupt 0
Address: A8h
P6 PULL-HIGH CONTROL
Bit:
7
P6.7H
6
P6.6H
5
P6.5H
4
P6.4H
(initial=00H)
3
2
1
P6.3H P6.2H P6.1H
0
P6.0H
P6H:
Mnemonic: P6H
Port6 pins pull-high resistor enable/disable
1: enable
0: disable
Address: AAh
- 26 -