Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256 Manual De Usuario

Los códigos de productos
DEMO9S12XHY256
Descargar
Página de 924
Port Integration Module (S12XHYPIMV1)
MC9S12XHY-Family Reference Manual, Rev. 1.04
94
Freescale Semiconductor
2.3.15
Port T Input Register (PTIT)
Table 2-11. PTT Register Field Descriptions
Field
Description
7-4
PTT
Port T general purpose input/output data—Data Register, LCD segment driver output, TIM0 output
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
1
In order TIM input capture to be function correctly, the corresponding DDRT bit should be set to 0
3-0
PTT
Port T general purpose input/output data—Data Register, LCD segment driver output, TIM1 output
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.
 Address 0x0241
Access: User read
1
1
Read: Anytime
Write:Never, writes to this register have no effect.
7
6
5
4
3
2
1
0
R
PTIT7
PTIT6
PTIT5
PTIT4
PTIT3
PTIT2
PTIT1
PTIT0
W
Reset
u
u
u
u
u
u
u
u
= Unimplemented or Reserved
u = Unaffected by reset
Figure 2-13. Port T Input Register (PTIT)
Table 2-12. PTIT Register Field Descriptions
Field
Description
7-0
PTIT
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.