mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 148

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 4 Port Integration Module (PIM9HZ256V2)
4.3.6
Port T is associated with the 8-channel timer (TIM) and the liquid crystal display (LCD) driver. Each pin
is assigned to these modules according to the following priority:
LCD Driver > timer > general-purpose I/O.
If the corresponding LCD frontplane drivers are enabled (and LCD module is enabled), the FP[27:24]
outputs of the LCD module are available on port T pins PT[3:0].
If the corresponding LCD frontplane drivers are disabled (or LCD module is disabled) and the timer is
enabled, the timer channels configured for output compare are available on port T pins PT[3:0].
Refer to the LCD block description chapter for information on enabling and disabling the LCD and its
frontplane drivers.Refer to the TIM block description chapter for information on enabling and disabling
the TIM module.
During reset, port T pins are configured as inputs with pull down.
4.3.6.1
Read: Anytime. Write: Anytime.
If the associated data direction bit (DDRTx) is set to 1 (output), a read returns the value of the I/O register
bit.
If the associated data direction bit (DDRTx) is set to 0 (input) and the LCD frontplane driver is enabled
(and LCD module is enabled), the associated I/O register bit (PTTx) reads “1”.
If the associated data direction bit (DDRTx) is set to 0 (input) and the LCD frontplane driver is disabled
(or LCD module is disabled), a read returns the value of the pin.
148
Reset
LCD:
TIM:
W
R
Port T
PTT7
OC7
Port T I/O Register (PTT)
0
7
PTT6
OC6
0
6
Figure 4-37. Port T I/O Register (PTT)
PTT5
MC9S12HZ256 Data Sheet, Rev. 2.05
OC5
0
5
PTT4
OC4
0
4
PTT3
OC3
1
0
3
PTT2
OC2
0
2
1
Freescale Semiconductor
PTT1
OC1
0
1
1
PTT0
OC0
1
0
0

Related parts for mc9s12hz256v2