MC81F4204
70 April 24, 2012 Ver.1.41
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
R1CONM
R13 R12 – –
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)
R13
R13/AN8/EXT9/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
R12
R12/AN7/EXT8/PWM3O/BUZO
Others: Not available
– bit1 – bit0 Not used for MC81F4204