Edge Port Module (EPORT)
MCF52110 ColdFire® Integrated Microcontroller Reference Manual, Rev. 1
15-4
Freescale Semiconductor
Preliminary
15.4.2
EPORT Data Direction Register (EPDDR)
The EPORT data direction register (EPDDR) controls the direction of each one of the pins individually.
15.4.3
Edge Port Interrupt Enable Register (EPIER)
The EPORT interrupt enable register (EPIER) enables interrupt requests for each pin individually.
IPSBAR
Offset:
0x13_0002 (EPDDR)
Access: Supervisor read/write
7
6
5
4
3
2
1
0
R
EPDD7
EPDD6
EPDD5
EPDD4
EPDD3
EPDD2
EPDD1
0
W
Reset
0
0
0
0
0
0
0
0
Figure 15-3. EPORT Data Direction Register (EPDDR)
Table 15-4. EPDDR Field Descriptions
Field
Description
7–2
EPDD
n
Setting any bit in the EPDDR configures the corresponding pin as an output. Clearing any bit in EPDDR configures
the corresponding pin as an input. Pin direction is independent of the level/edge detection configuration. Reset clears
EPDD7–EPDD1.
To use an EPORT pin as an external interrupt request source, its corresponding bit in EPDDR must be clear.
Software can generate interrupt requests by programming the EPORT data register when the EPDDR selects output.
0 Corresponding EPORT pin configured as input
1 Corresponding EPORT pin configured as output
1-0
Reserved, must be cleared.
IPSBAR
Offset:
0x13_0003 (EPIER)
Access: User read/write
7
6
5
4
3
2
1
0
R
EPIE7
EPIE6
EPIE5
EPIE4
EPIE3
EPIE2
EPIE1
0
W
Reset:
0
0
0
0
0
0
0
0
Figure 15-4. EPORT Port Interrupt Enable Register (EPIER)