English
Language : 

MC81F4216 Datasheet, PDF (87/200 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4x16
10.5 R4 Port Registers
R4CONH – R44~R47
R4 PORT CONTROL HIGH REGISTER
00DEH
A reset clears the R4CONH register to „AAH‟, makes the R47-R44 pins to open-drain output mode.
You can use R4CONH register setting to select input (with or without pull-up) or output mode (open-
drain or push-pull).
R4CONH
7
6
R47
R/W R/W
5
4
R46
R/W R/W
3
2
R45
R/W R/W
1
0
R44
R/W R/W
Reset value: AAH
R47
R47
R46
R46
R45
R45
R44
R44
00: Input mode
01: Input pull-up mode
10: Output mode, open-drain
11: Output mode, push-pull
00: Input mode
01: Input pull-up mode
10: Output mode, open-drain
11: Output mode, push-pull
00: Input mode
01: Input pull-up mode
10: Output mode, open-drain
11: Output mode, push-pull
00: Input mode
01: Input pull-up mode
10: Output mode, open-drain
11: Output mode, push-pull
October 19, 2009 Ver.1.35
87