MG87FE/L2051 MEGAWIN [Megawin Technology Co., Ltd], MG87FE/L2051 Datasheet - Page 46

no-image

MG87FE/L2051

Manufacturer Part Number
MG87FE/L2051
Description
8-bits microcontroll
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
19.
AUXR: Auxiliary Control Register
Address=8EH, read/write, RESET=0000-0000
Bit 7: INT3H, INT3 High/Rising trigger enable.
0: Remain INT3 triggered on low level or falling edge on P4.2.
1: Set INT3 triggered on high level or rising edge on P4.2.
Bit 6: INT2H, INT2 High/Rising trigger enable.
0: Remain INT2 triggered on low level or falling edge on P4.3.
1: Set INT2 triggered on high level or rising edge on P4.3.
Bit 5: P15FS, pin P1.5 function swapped enable.
0: Pin P1.5 and P3.5 reserves original default function.
1: Pin P1.5 function is swapped with P3.5/T1. And Pin P3.5 function is swapped by P1.5.
Bit 4: P14FS, pin P1.4 function swapped enable.
0: Pin P1.4 and P3.4 reserve original default function.
1: Pin P1.4 function is swapped with P3.4/T0. And Pin P3.4 function is swapped by P1.4.
Bit 3: P13FS, pin P1.3 function swapped enable.
0: Pin P1.3 and P4.3 reserve original default function.
1: Pin P1.3 function is swapped with P4.3/INT2. And Pin P4.3 function is swapped by P1.3 if internal OSC is
Bit 2: P12FS, pin P1.2 function swapped enable.
0: Pin P1.2 and P4.2 reserve original default function.
1: Pin P1.2 function is swapped with P4.2/INT3. And Pin P4.2 function is swapped by P1.2 if internal OSC is
Bit 1: P11PU, Enable P1.1 pull-up resistor.
0: P1.1 without Pull-Up resistor in open-drain mode.
1: P1.1 with Pull-Up resistor in open-drain mode.
Bit 0: P10PU, Enable P1.0 pull-up resistor.
0: P1.0 without Pull-Up resistor in open-drain mode.
1: P1.0 with Pull-Up resistor in open-drain mode.
P1.1 & P1.0 is high-impedance input and N-MOS output without pull-up resistor in default mode. P11PU &
P10PU in AUXR will enable the pull-up resistor on P1.1/P1.0 individually. If P1.1 & P1.0 are used for GPIO
function, CPU could not drive low without external pull-up resistor in power down mode when P11PU &
P10PU are enabled.
AUXR1: Auxiliary Control Register 1
Address=A2H, read/write, Power On + RESET=0xxx-0xxx
Bit 7: P14FD, Enable P14 output with fast driving.
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
46/56
enabled to release XTAL1 for GPIO function.
enabled to release XTAL2 for GPIO function.
P14FD
INT3H
7
7
Auxiliary SFRs
MEGAWIN
MAKE YOU WIN
INT2H
6
6
-
P15FS
5
5
-
P14FS
4
4
-
P13FS
GF2
3
3
P12FS
MG87FE/L2051/4051/6051
2
2
-
P11PU
1
1
-
Preliminary, v 1.03
P10PU
0
0

Related parts for MG87FE/L2051