English
Language : 

W925EP01 Datasheet, PDF (65/108 Pages) Winbond – 8-BIT CID MICROCONTROLLER
W925EP01/ W925EP01FG
CAS/FSK OUTPUT LEVEL
LO1
LO0
150mV
0
0
125mV
0
1
100mV
1
0
75mV
1
1
6.14 I/O Ports
There are five 8-bits ports named from P0 to P4 in W925EP01. All ports can be configured as input or
output mode. Except P0, every port has pull high resistor enable/disable by PxH register. After reset
the initial state of each port is in input mode and the value of the registers from P0 to P3 are FFh. The
I/O port is described as below:
P0: I/O mode is controlled by P0IO. Only P0 output as open drain mode and without pull high
resistor.
P1: I/O mode is controlled by P1IO. Pull high is controlled by P1H. P1.0~P1.3 work as INT2,
P1.4~P1.7 work as INT3. The falling edge on P1 pins will produce INT2 and INT3 flag. P1 is
configured as INT2/INT3 by P1EF register.
P2: I/O mode is controlled by P2IO. Pull high is controlled by P2H.
P3: I/O mode is controlled by P3IO. Pull high is controlled by P3H.
P3.7
RD
Read low pulse signal when reading external RAM
P3.6
WR
Write low pulse signal when writing external RAM
P3.5
T1
Timer/counter 1 external count input
P3.4
T0
Timer/counter 0 external count input
P3.3
INT1
External interrupt 1
P3.2
INT0
External interrupt 0
P3.1
TxD
Serial port0 output
P3.0
RxD
Serial port0 input
P4: I/O mode is controlled by P4IO. Pull high is controlled by P4H.
Special function of P4 is described below.
P4.7-5 I/O
Normal I/O
P4.4
VPOS
Positive input of the comparator
P4.2
VNEG
Negative input of the comparator
P4.1
SDATA Serial port1 output
P4.0
SCLK
Serial port1 input
- 65 -
Publication Release Date: Apr. 10, 2006
Revision A2