Chapter 2 Port Integration Module (S12ZVHYPIMV1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
100
Freescale Semiconductor
2.3.2.12
Port Input Register
Table 2-11. Port Data Register Field Descriptions
Field
Description
7-0
PTx
Port
—
General purpose input/output data
This register holds the value driven out to the pin if the pin is used as a general purpose output.
When not used with the alternative function (refer to
), these pins can be used as general purpose I/O.
If the associated data direction bits of these pins are set to 1, a read returns the value of the port register, otherwise
the buffered pin input state is read.
Address 0x0222 PTIA
0x0223 PTIB
0x0242 PTIC
0x0243 PTID
0x0262 PTIE
0x0263 PTIF
0x0283 PTIADL
0x02C1 PTIT
0x02D1 PTIS
0x02F1 PTIP
0x0301 PTIH
0x0311 PTIJ
0x0321 PTIG
0x0351 PTIU
Access: User read only
(1)
1. Read: Anytime
Write:Never
7
6
5
4
3
2
1
0
R
PTIx7
PTIx6
PTIx5
PTIx4
PTIx3
PTIx2
PTIx1
PTIx0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-14. Port Input Register
Table 2-12. Port Input Register Field Descriptions
Field
Description
7-0
PTIx
Port Input
— Data input
A read always returns the buffered input state of the associated pin. It can be used to detect overload or short circuit
conditions on output pins.