English
Language : 

MC9S12XD256MAL Datasheet, PDF (945/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network
Each flag is set by an active edge on the associated input pin. This could be a rising or a falling
edge based on the state of the PPSP register. To clear this flag, write logic level “1” to the
corresponding bit in the PIFP register. Writing a “0” has no effect.
Table 23-44. PIFP Field Descriptions
Field
Description
7–0
PIFP[7:0]
Interrupt Flags Port P
0 No active edge pending. Writing a “0” has no effect.
1 Active edge on the associated bit has occurred (an interrupt will occur if the associated enable bit is set).
Writing a logic level “1” clears the associated flag.
23.0.5.46 Port H Data Register (PTH)
7
R
PTH7
W
6
PTH6
5
PTH5
4
PTH4
3
PTH3
2
PTH2
1
PTH1
0
PTH0
SCI
TXD4
RXD4
Routed
SPI
SS2
SCK2
MOSI2
MISO2
SS1
SCK1
MOSI1
MISO1
Reset
0
0
0
0
0
0
0
0
Figure 23-48. Port H Data Register (PTH)
Read: Anytime.
Write: Anytime.
Port H pins 7–0 are associated with the SCI4 as well as the routed SPI1 and SPI2.
These pins can be used as general purpose I/O when not used with any of the peripherals.
If the data direction bits of the associated I/O pins are set to logic level “1”, a read returns the value
of the port register, otherwise the buffered pin input state is read.
The routed SPI2 function takes precedence over the SCI4 and the general purpose I/O function if
the routed SPI2 module is enabled. Refer to SPI section for details.The routed SPI1 function takes
precedence over the general purpose I/O function if the routed SPI1 is enabled. Refer to SPI section
for details.
The SCI4 function takes precedence over the general purpose I/O function if the SCI4 is enabled