English
Language : 

MC81F4216 Datasheet, PDF (79/200 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
R1CONM – R12~R13
R1 PORT CONTROL MIDDLE REGISTER
MC81F4x16
00D4H
A reset clears the R1CONM register to „20H‟, makes the R13 pin to open-drain output mode and the
R12 pin to input mode. You can use R1CONM 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 R1CONM register must also be enabled in the associated peripheral module.
7
6
5
4
3
2
1
R1CONM
R13
R12
–
R/W R/W R/W R/W R/W R/W –
0
– Reset value: 20H
–
R13
R13/AN8/EXT9/PWM4O
R12
R12/AN7/EXT8/PWM3O/BUZO
–
bit1 – bit0
000: Schmitt trigger input mode(EXT9)
001: Output mode, open-drain
010: Alternative function (AN8)
011: Alternative function (PWM4O)
1xx: Output mode, push-pull
000: Schmitt trigger input mode(EXT8)
001: Output mode, open-drain
010: Alternative function (AN7)
011: Alternative function (PWM3O)
101: Alternative function (BUZO)
111: Output mode, push-pull
Others: Not available
Not used for MC81F4x16
October 19, 2009 Ver.1.35
79