English
Language : 

MC81F4332 Datasheet, PDF (84/198 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4x16
R4CONL – R40~R43
R4 PORT CONTROL LOW REGISTER
00DFH
A reset clears the R4CONL register to „AAH‟, makes the R43-R40 pins to open drain output mode.
You can use R4CONL register setting to select input (with or without pull-up) or output mode (open-
drain or push-pull) .
R4CONL
7
6
R43
R/W R/W
5
4
R42
R/W R/W
3
2
R41
R/W R/W
1
0
R40
R/W R/W
Reset value: AAH
R43
R43
R42
R42
R41
R41
R40
R40
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
R4
R4 PORT DATA REGISTER
00C4H
7
6
5
4
3
2
1
0
R4
R47 R46 R45 R44 R43 R42 R41 R40 Reset value: FFH
R/W R/W R/W R/W R/W R/W R/W R/W
In input mode, it represents the R4 port status. 1: High
In output mode, R4 port represents it.
0 : Low
84
October 19, 2009 Ver.1.35