MOTOROLA
EXTERNAL INTERRUPTS/GPIO (EDGE PORT)
MMC2001
13-4
REFERENCE MANUAL
EPDx — Edge Port Data x
See the description above. These bits are not affected by hardware reset.
13.3.4 Edge Port Flag Register (EPFR)
The 16-bit read/write edge port flag register (EPFR) indicates whether the selected
edge has been detected on the port pins.
Figure 13-5 Edge Port Flag Register
EPFx — Edge Port Flag x
0 =
Selected edge for INTx pin has not been detected.
1 =
Selected edge for INTx pin has been detected.
Bits in this register are set when the programmed edge is detected on the corre-
sponding pin. A bit remains set until cleared by writing it to a one. Pin transitions do
not affect this register if the pin is configured as level sensitive (EPPARx=00). The
corresponding flag bit(s) are cleared to zero in this case. When a pin is configured as
a general-purpose output, writes to EPDR that cause the selected level or edge inter-
rupt will set the corresponding bit in EPFR. The outputs of this register drive the cor-
responding input of the interrupt controller for those bits configured as edge
detecting. These bits are cleared by hardware reset.
EPFR — Edge Port Flag Register
10007006
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
EPF7 EPF6 EPF5 EPF4 EPF3 EPF2 EPF1 EPF0
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.
..