English
Language : 

MC9S12HY64 Datasheet, PDF (80/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12HYPIMV1)
Table 2-12. PTT Register Field Descriptions
Field
Description
7-4 Port T general purpose input/output data—Data Register, LCD segment driver output, TIM0 output
PTT When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin. If the associated data direction bit is set to 1, a read
returns the value of the port register bit, otherwise the buffered pin input state is read.
• The LCD segment driver output takes precedence over the TIM0 and general purpose I/O function if related LCD
segment is enabled
• The TIM0 output function takes precedence over the general purpose I/O function if the related channel is
enabled.1
3-0 Port T general purpose input/output data—Data Register, LCD segment driver output, TIM1 output
PTT When not used with the alternative function, the associated pin can be used as general purpose I/O. In general
purpose output mode the register bit value is driven to the pin. If the associated data direction bit is set to 1, a read
returns the value of the port register bit, otherwise the buffered pin input state is read.
• The LCD segment driver output takes precedence over the TIM1 and general purpose I/O function if related LCD
segment is enabled
• The TIM1 output function takes precedence over the general purpose I/O function if the related channel is
enabled.1
1 In order TIM input capture to be function correctly, the corresponding DDRT bit should be set to 0
2.3.15 Port T Input Register (PTIT)
Address 0x0241
7
R PTIT7
6
PTIT6
5
PTIT5
4
PTIT4
3
PTIT3
2
PTIT2
W
Reset
u
u
u
u
u
u
= Unimplemented or Reserved
u = Unaffected by reset
Figure 2-13. Port T Input Register (PTIT)
1 Read: Anytime
Write:Never, writes to this register have no effect.
Access: User read1
1
PTIT1
0
PTIT0
u
u
Field
7-0
PTIT
Table 2-13. PTIT Register Field Descriptions
Description
Port T 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.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
80
Freescale Semiconductor