MC81F4x16
R1CONM – R12~R13
R1 PORT CONTROL MIDDLE REGISTER
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
0
R13
R12
–
–
R1CONM
Reset value: 20H
R/W
R/W
R/W
R/W
R/W
R/W
–
–
000: Schmitt trigger input mode(EXT9)
001: Output mode, open-drain
010: Alternative function (AN8)
011: Alternative function (PWM4O)
1xx: Output mode, push-pull
R13
R13/AN8/EXT9/PWM4O
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
R12
R12/AN7/EXT8/PWM3O/BUZO
–
bit1 – bit0
Not used for MC81F4x16
October 19, 2009 Ver.1.35
79