English
Language : 

MC81F4332 Datasheet, PDF (74/198 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4x16
10.2 R1 Port Registers
R1CONH – R14~R17
R1 PORT CONTROL HIGH REGISTER
00D3H
A reset clears the R1CONH register to „55H‟, makes the R17-R14 pins to open-drain output mode.
You can use R1CONH register setting to select input or output mode (open-drain or push-pull) and
enable alternative functions.
When programming the port, please remember that any alternative peripheral I/O function that
defined by the R1CONH register must also be enabled in the associated peripheral module.
R1CONH
7
6
R17
R/W R/W
5
4
R16
R/W R/W
3
2
R15
R/W R/W
1
0
R14
R/W R/W
Reset value: 55H
R17
R17/SCL
R16
R16/SDA
R15
R15/TxD
R14
R14/RxD
00: Schmitt trigger input mode
01: Output mode, open-drain
10: Alternative function (SCL)
11: Output mode, push-pull
00: Schmitt trigger input mode
01: Output mode, open-drain
10: Alternative function (SDA)
11: Output mode, push-pull
00: Schmitt trigger input mode
01: Output mode, open-drain
10: Alternative function (TxD)
11: Output mode, push-pull
00: Schmitt trigger input mode
(RxD mode1,2,3)
01: Output mode, open-drain
10: Alternative function (RxD mode 0)
11: Output mode, push-pull
74
October 19, 2009 Ver.1.35