Datasheet

Chapter 6 Parallel Input/Output Control
MC9S08SH32 Series Data Sheet, Rev. 2
84 Freescale Semiconductor
6.6.1.6 Port A Interrupt Status and Control Register (PTASC)
6.6.1.7 Port A Interrupt Pin Select Register (PTAPS)
76543210
R0000PTAIF0
PTAIE PTAMOD
W PTAACK
Reset: 00000000
Figure 6-8. Port A Interrupt Status and Control Register (PTASC)
Table 6-7. PTASC Register Field Descriptions
Field Description
3
PTAIF
Port A Interrupt Flag — PTAIF indicates when a port A interrupt is detected. Writes have no effect on PTAIF.
0 No port A interrupt detected.
1 Port A interrupt detected.
2
PTAACK
Port A Interrupt Acknowledge — Writing a 1 to PTAACK is part of the flag clearing mechanism. PTAACK
always reads as 0.
1
PTAIE
Port A Interrupt Enable — PTAIE determines whether a port A interrupt is enabled.
0 Port A interrupt request not enabled.
1 Port A interrupt request enabled.
0
PTAMOD
Port A Detection Mode — PTAMOD (along with the PTAES bits) controls the detection mode of the port A
interrupt pins.
0 Port A pins detect edges only.
1 Port A pins detect both edges and levels.
76543210
R0000
PTAPS3 PTAPS2 PTAPS1 PTAPS0
W
Reset: 00000000
Figure 6-9. Port A Interrupt Pin Select Register (PTAPS)
Table 6-8. PTAPS Register Field Descriptions
Field Description
3:0
PTAPS[3:0]
Port A Interrupt Pin Selects — Each of the PTAPSn bits enable the corresponding port A interrupt pin.
0 Pin not enabled as interrupt.
1 Pin enabled as interrupt.
PRELIMINARY