English
Language : 

MC9S12C Datasheet, PDF (93/680 Pages) Motorola, Inc – 16-Bit Microcontroller
2.3.2.4 Port P Registers
Chapter 2 Port Integration Module (PIM9C32) Block Description
2.3.2.4.1 Port P I/O Register (PTP)
Module Base + 0x0018
R
W
PWM
Reset
7
PTP7
—
0
6
PTP6
—
0
5
PTP5
4
PTP4
3
PTP3
2
PTP2
PWM5
PWM4
PWM3
PWM2
0
0
0
0
Figure 2-24. Port P I/O Register (PTP)
1
PTP1
PWM1
0
0
PTP0
PWM0
0
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)
Module Base + 0x0019
R
W
Reset
7
PTIP7
—
6
PTIP6
5
PTIP5
4
PTIP4
3
PTIP3
2
PTIP2
—
—
—
—
—
= Unimplemented or Reserved
Figure 2-25. Port P Input Register (PTIP)
1
PTIP1
—
0
PTIP0
—
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.
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
93
Rev 01.23