EasyManua.ls Logo

ABOV SEMICONDUCTOR MC81F4204 - Page 71

Default Icon
155 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC81F4204
April 24, 2012 Ver.1.41 71
R1CONL – R10~11
R1 PORT CONTROL LOW REGISTER 00D5H
A reset clears the R1CONL register to ‘00H’, makes R11-R10 pins input mode. You can use R1CONL
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 R1CONL register must also be enabled in the associated peripheral module.
7 6 5 4 3 2 1 0
R1CONL
R11 R10 Reset value: 00H
R/W R/W R/W R/W R/W
bit7 – bit5 Not used for MC81F4204
000: Schmitt trigger input mode (EXT7)
001: Output mode, open-drain
010: Alternative function (AN6)
011: Alternative function (PWM2O)
R11
R11/AN6/EXT7/PWM2O
1xx: Output mode, push-pull
00: Schmitt trigger input mode (EXT6)
01: Output mode, open-drain
10: Alternative function (Vref)
R10
R10/Vref/EXT6
11: Output mode, push-pull

Table of Contents