Chapter 2 Port Integration Module (PIM9C32) Block Description
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
93
Rev 01.24
2.3.2.4
Port P Registers
2.3.2.4.1
Port P I/O Register (PTP)
Read: Anytime.
Write: Anytime.
If the data direction bits of the associated I/O pins are set to 1, a read returns the value of the port register,
otherwise the value at the pins is read.
2.3.2.4.2
Port P Input Register (PTIP)
Read: Anytime.
Write: Never, writes to this register have no effect.
This register always reads back the status of the associated pins. This can be also used to detect overload
or short circuit conditions on output pins.
Module Base + 0x0018
7
6
5
4
3
2
1
0
R
PTP7
PTP6
PTP5
PTP4
PTP3
PTP2
PTP1
PTP0
W
PWM
—
—
PWM5
PWM4
PWM3
PWM2
PWM1
PWM0
Reset
0
0
0
0
0
0
0
0
Figure 2-24. Port P I/O Register (PTP)
Module Base + 0x0019
7
6
5
4
3
2
1
0
R
PTIP7
PTIP6
PTIP5
PTIP4
PTIP3
PTIP2
PTIP1
PTIP0
W
Reset
—
—
—
—
—
—
—
—
= Unimplemented or Reserved
Figure 2-25. Port P Input Register (PTIP)
Summary of Contents for MC9S12C Family
Page 689: ......