English
Language : 

W921E840A Datasheet, PDF (20/58 Pages) Winbond – 4-BIT MICROCONTROLLER
W921E840A/W921C840
P4TP register: (address = 004H, default data = 0H)
b3
b2
b1
b0
0: P4.0 work as CMOS type
1: P4.0 work as open-drain type
0: P4.1 work as CMOS type
1: P4.1 work as open-drain type
0: P4.2 work as CMOS type
1: P4.2 work as open-drain type
0: P4.3 work as CMOS type
1: P4.3 work as open-drain type
• P6.0 to P6.3 :
P6PH register: (address = 005H, default data = 0H)
b3
b2
b1
b0
0: P6.0 without pull-high resistor
1: P6.0 with pull-high resistor
0: P6.1 without pull-high resistor
1: P6.1 with pull-high resistor
0: P6.2 without pull-high resistor
1: P6.2 with pull-high resistor
0: P6.3 without pull-high resistor
1: P6.3 with pull-high resistor
P6TP register: (address = 006H, default data = 0H)
b3
b2
b1
b0
0: P6.0 work as CMOS type
1: P6.0 work as open-drain type
0: P6.1 work as CMOS type
1: P6.1 work as open-drain type
0: P6.2 work as CMOS type
1: P6.2 work as open-drain type
0: P6.3 work as CMOS type
1: P6.3 work as open-drain type
- 20 -