MOTOROLA
PROGRAMMING REFERENCE
MMC2001
C-28
REFERENCE MANUAL
Figure C-28 Edge Port Pin Assignment Register
EPPAx — Edge Port Pin Assignment Select Field x
Pins configured as level-sensitive are inverted so that a logic low on the external pin
represents a valid interrupt request. Level-sensitive interrupt inputs are not latched.
To guarantee that a level-sensitive interrupt request is acknowledged, the interrupt
source must keep the signal asserted until acknowledged by software.
Pins configured as edge-sensitive interrupts are latched for interrupt generation pur-
poses and need not remain asserted for interrupt generation. When the pin is pro-
grammed to use the edge detecting circuit, its state is monitored regardless of its
configuration as input or output.
These bits are cleared by hardware reset.
C.7.2 Edge Port Data Direction Register (EPDDR)
The 16-bit read/write edge port data direction register (EPDDR) controls the direction
of the port pins. Setting any bit in this register configures the corresponding pin as an
output. Clearing any bit in this register configures the corresponding pin as an input.
Pin direction is independent of the level/edge mode programmed.
Figure C-29 Edge Port Data Direction Register
EPPAR — Edge Port Pin Assignment Register
10007000
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
EPPA7
EPPA6
EPPA5
EPPA4
EPPA3
EPPA2
EPPA1
EPPA0
W
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table C-13 EPPAx Field Settings
Value
Meaning
00
Pin INTx defined as level sensitive
01
Pin INTx defined as rising edge detect
10
Pin INTx defined as falling edge detect
11
Pin INTx defined as both falling and rising
edge detect
EPDDR — Edge Port Data Direction Register
10007002
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
0
0
EPDD7 EPDD6 EPDD5 EPDD4 EPDD3 EPDD2 EPDD1 EPDD0
W
RESET:
0
0
0
0
0
0
0
0
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..