English
Language : 

MC9S12P128_10 Datasheet, PDF (73/566 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12PPIMV1)
Field
7-0
PTIT
Table 2-15. 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.
2.3.18 Port T Data Direction Register (DDRT)
Address 0x0242
R
W
Reset
7
DDRT7
0
1. Read: Anytime
Write: Anytime
6
DDRT6
5
DDRT5
4
DDRT4
3
DDRT3
2
DDRT2
0
0
0
0
0
Figure 2-16. Port T Data Direction Register (DDRT)
Access: User read/write(1)
1
0
DDRT1
DDRT0
0
0
Table 2-16. DDRT Register Field Descriptions
Field
Description
7-6, 3-1
DDRT
Port T data direction—
This bit determines whether the pin is an input or output.
The TIM forces the I/O state to be an output for a timer port associated with an enabled output compare. In this case
the data direction bit will not change.
5
DDRT
1 Associated pin is configured as output
0 Associated pin is configured as input
Port T data direction—
This bit determines whether the pin is an input or output.
The TIM forces the I/O state to be an output for a timer port associated with an enabled output compare. Else the
routed PWM forces the I/O state to be an output for an enabled channel. Else the API_EXTCLK forces the I/O state
to be an output if enabled. In these cases the data direction bit will not change.
4,0
DDRT
1 Associated pin is configured as output
0 Associated pin is configured as input
Port T data direction—
This bit determines whether the pin is an input or output.
The TIM forces the I/O state to be an output for a timer port associated with an enabled output compare. Else the
routed PWM forces the I/O state to be an output for an enabled channel. In these cases the data direction bit will not
change.
1 Associated pin is configured as output
0 Associated pin is configured as input
S12P-Family Reference Manual, Rev. 1.13
Freescale Semiconductor
73