English
Language : 

MC9S12XS128MAL Datasheet, PDF (109/738 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
2.3.51 Port H Input Register (PTIH)
Port Integration Module (S12XSPIMV1)
Address 0x0261
7
R PTIH7
6
PTIH6
5
PTIH5
4
PTIH4
3
PTIH3
2
PTIH2
W
Reset
u
u
u
u
u
u
= Unimplemented or Reserved
u = Unaffected by reset
Figure 2-49. Port H Input Register (PTIH)
1 Read: Anytime
Write:Never, writes to this register have no effect
Access: User read1
1
PTIH1
0
PTIH0
u
u
Field
7-0
PTIH
Table 2-48. PTIH Register Field Descriptions
Description
Port H 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.
2.3.52 Port H Data Direction Register (DDRH)
Address 0x0262
R
W
Reset
7
DDRH7
0
1 Read: Anytime
Write: Anytime
6
DDRH6
5
DDRH5
4
DDRH4
3
DDRH3
2
DDRH2
0
0
0
0
0
Figure 2-50. Port H Data Direction Register (DDRH)
Table 2-49. DDRH Register Field Descriptions
Field
7-0
DDRH
Description
Port H 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
Access: User read/write1
1
0
DDRH1
DDRH0
0
0
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
109