English
Language : 

MC9S12HZ256 Datasheet, PDF (131/692 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
4.3.2.2 Port L Input Register (PTIL)
Chapter 4 Port Integration Module (PIM9HZ256V2)
R
W
Reset
7
PTIL7
1
6
PTIL6
5
PTIL5
4
PTIL4
3
PTIL3
2
PTIL2
1
1
1
1
1
= Reserved or Unimplemented
Figure 4-11. Port L Input Register (PTIL)
1
PTIL1
1
0
PTIL0
1
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) or the
associated ATDDIEN0 bit is set to 0 (digital input buffer is disabled), a read returns a 1.
If the LCD frontplane driver of an associated I/O pin is disabled (or LCD module is disabled) and the
associated ATDDIEN0 bit is set to 1 (digital input buffer is enabled), a read returns the status of the
associated pin.
4.3.2.3 Port L Data Direction Register (DDRL)
R
W
Reset
7
DDRL7
0
6
DDRL6
5
DDRL5
4
DDRL4
3
DDRL3
2
DDRL2
0
0
0
0
0
Figure 4-12. Port L Data Direction Register (DDRL)
1
DDRL1
0
0
DDRL0
0
Read: Anytime. Write: Anytime.
This register configures port pins PL[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.
Table 4-9. DDRL Field Descriptions
Field
7:0
Data Direction Port L
DDRL[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
131