English
Language : 

MC9S12HZ256 Datasheet, PDF (149/692 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
4.3.6.2 Port T Input Register (PTIT)
Chapter 4 Port Integration Module (PIM9HZ256V2)
7
R PTIT7
W
6
PTIT6
5
PTIT5
4
PTIT4
3
PTIT3
2
PTIT2
1
PTIT1
0
PTIT0
Reset
u
u
u
u
u
u
u
u
= Reserved or Unimplemented
u = Unaffected by reset
Figure 4-38. Port T Input Register (PTIT)
Read: Anytime. Write: Never, writes to this register have no effect.
If the LCD frontplane driver of an associated I/O pin is enabled (and LCD module is enabled), a read
returns a 1.
If the LCD frontplane driver of the associated I/O pin is disabled (or LCD module is disabled), a read
returns the status of the associated pin.
4.3.6.3 Port T Data Direction Register (DDRT)
7
R
DDRT7
W
6
DDRT6
5
DDRT5
4
DDRT4
3
DDRT3
2
DDRT2
1
DDRT1
0
DDRT0
Reset
0
0
0
0
0
0
0
0
Figure 4-39. Port T Data Direction Register (DDRT)
Read: Anytime. Write: Anytime.
This register configures port pins PT[7:0] as either input or output.
If a LCD frontplane driver is enabled (and LCD module is enabled), it outputs an analog signal to the
corresponding pin and the associated Data Direction Register bit has no effect. If a LCD frontplane driver
is disabled (or LCD module is disabled), the corresponding Data Direction Register bit reverts to control
the I/O direction of the associated pin.
If the TIM module is enabled, each port pin configured for output compare is forced to be an output and
the associated Data Direction Register bit has no effect. If the associated timer output compare is disabled,
the corresponding Data Direction Register bit reverts to control the I/O direction of the associated pin.
If the TIM module is enabled, each port pin configured as an input capture has the corresponding Data
Direction Register bit controlling the I/O direction of the associated pin.
Table 4-28. DDRT Field Descriptions
Field
7:0
Data Direction Port T
DDRT[7:0] 0 Associated pin is configured as input.
1 Associated pin is configured as output.
Description
MC9S12HZ256 Data Sheet, Rev. 2.04
Freescale Semiconductor
149