English
Language : 

W921E400A Datasheet, PDF (15/53 Pages) Winbond – 4-BIT MICROCONTROLLER
W921E400A/W921C400
P5IO register: (address = 011H, default data = 0H)
b3
b2
b1
b0
Reserved
Reserved
Reserved
0: Normal I/O P5.1
1: Work as the timer 2 control pin
• P6.0 to P6.3: Multi-function I/O pins (selected by P6IO register)
− Normal function I/O pins
− Special function I/O pins
P6IO register: (address = 012H, default data = 0H)
b3
b2
b1
b0
0: Normal I/O P6.0
1: Work as the data output pin of the WCLK pin
(WDATA)
0: Normal I/O P6.1
1: Work as the clock I/O pin of the WDATA pin
(WCLK)
0: Normal I/O P6.2
1: Work as the data input pin of the RCLK pin
(RDATA)
0: Normal I/O P6.3
1: Work as the clock I/O pin of the RDATA pin
(RCLK)
• PA.0 to PA.3: Normal function I/O pins only
• PB.0 to PB.3: Normal function I/O pins only
6.5.2 Pull High and Open Drain Control of I/O
Some of the above I/O ports can be controlled with pull-high resistor or open drain by programming
the special register.
All pull-high resistors of the following table are 400 KΩ in 3.0 voltage test condition. After power on
reset the following special register will all reset to '0H'.
- 15 -
Publication Release Date: July 1999
Revision A3