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).
7
6
5
4
3
2
1
0
R47
R46
R45
R44
R4CONH
Reset value: AAH
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00: Input mode
01: Input pull-up mode
R47
R46
R45
R47
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
R46
R45
R44
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
R44
October 19, 2009 Ver.1.35
87