English
Language : 

MC9S12HY64 Datasheet, PDF (81/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
2.3.16 Port T Data Direction Register (DDRT)
Port Integration Module (S12HYPIMV1)
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-14. Port T Data Direction Register (DDRT)
Access: User read/write1
1
0
DDRT1
DDRT0
0
0
Table 2-14. DDRT Register Field Descriptions
Field
7-4
DDRT
Description
Port T data direction—
This bit determines whether the pin is an input or output.
If corresponding LCD segment is enabled, it will be forced as input/output disabled
Else If corresponding TIM0 output compare channel is enabled, it will be forced as output.
3-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.
If corresponding LCD segment is enabled, it will be forced as input/output disabled
Else If corresponding TIM1 output compare channel is enabled, it will be forced as output.
1 Associated pin is configured as output
0 Associated pin is configured as input
NOTE
Due to internal synchronization circuits, it can take up to 2 bus clock cycles
until the correct value is read on PTT or PTIT registers, when changing the
DDRT register.
2.3.17 Port T Reduced Drive Register (RDRT)
Address 0x0243
R
W
Reset
7
RDRT7
0
6
RDRT6
5
RDRT5
4
RDRT4
3
RDRT3
2
RDRT2
0
0
0
0
0
Figure 2-15. Port T Reduced Drive Register (RDRT)
Access: User read/write1
1
0
RDRT1
RDRT0
0
0
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
81