English
Language : 

MC81F4332 Datasheet, PDF (85/198 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4432
10.6 R5 Port
R5CON – R50~R53
R5 PORT CONTROL REGISTER
00E0H
A reset clears the R5CON register to „AAH‟, makes R53-R50 pins to open-drain output mode. You
can use R5CON register setting to select input (with or without pull-up) or output mode (open-drain or
push-pull).
R5CON
7
6
R53
R/W R/W
5
4
R52
R/W R/W
3
2
R51
R/W R/W
1
0
R50
R/W R/W
Reset value: AAH
R53
R53
R52
R52
R51
R51
R50
R50
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
R5
R5 PORT DATA REGISTER
00C5H
7
6
5
4
3
2
1
0
R5
-
-
-
-
R53 R52 R51 R50 Reset value: -FH
R/W R/W R/W R/W R/W R/W R/W R/W
In input mode, it represents the R5 port status. 1: High
In output mode, R5 port represents it.
0 : Low
October 19, 2009 Ver.1.35
85