English
Language : 

MC81F4104 Datasheet, PDF (55/118 Pages) Finechips – ABOV SEMICONDUCTOR
R0CONL – R00~02
R0 PORT CONTROL LOW REGISTER
MC81F4104
00C8H
When programming the port, please remember that any alternative peripheral I/O function that
defined by the R0CONL register must also be enabled in the associated peripheral module.
7
6
5
4
3
2
1
0
R0CONL
–
–
R02
R01
R00
Reset value:
–
– R/W R/W R/W R/W R/W R/W
--01_0000b
–
bit7 – bit6
R02
R02/AN2
R01
R01/Xout/AN1 ( *note* )
R00
R00/Xin/AN0 ( *note* )
Not used for MC81F4104
00: Schmitt trigger input mode
01: Output mode, open-drain
10: Alternative function (AN2)
11: Output mode, push-pull
00: Schmitt trigger input mode
01: Output mode, open-drain
10: Alternative function (AN1)
11: Output mode, push-pull
00: Schmitt trigger input mode
01: Output mode, open-drain
10: Alternative function (AN0)
11: Output mode, push-pull
Note :
If you want to use XIN and XOUT, the OSCS (ROM OPTION [2:0]) must select to
Crystal/ceramic oscillator mode (111b). If you want to use R00 and R01, the OSCS (ROM
OPTION [2:0]) must select to Internal RC mode (001b, 010b, 011b, 100b).
Even you are in case of using emulator, you must select the OSC option as an internal RC
mode to use R00 and R01 ports as general I/O ports.
October 19, 2009 Ver.1.35
55