Datasheet
Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor 113
2.3.59 Port J Input Register (PTIJ)
2.3.60 Port J Data Direction Register (DDRJ)
Address 0x0269 Access: User read
1
1
Read: Anytime
Write:Never, writes to this register have no effect
76543210
R PTIJ7 PTIJ6 0000PTIJ1 PTIJ0
W
Reset uuuuuuuu
= Unimplemented or Reserved u = Unaffected by reset
Figure 2-57. Port J Input Register (PTIJ)
Table 2-56. PTIJ Register Field Descriptions
Field Description
7-6, 1-0
PTIJ
Port J input data—
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.
Address 0x026A Access: User read/write
1
1
Read: Anytime
Write: Anytime
76543210
R
DDRJ7 DDRJ6
0000
DDRJ1 DDRJ0
W
Reset 00000000
Figure 2-58. Port J Data Direction Register (DDRJ)
Table 2-57. DDRJ Register Field Descriptions
Field Description
7-6, 1-0
DDRJ
Port J data direction—
This bit determines whether the associated pin is an input or output.
1 Associated pin configured as output
0 Associated pin configured as input
