Datasheet

Port Integration Module (S12GPIMV1)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor 215
2.4.3.15 Port T Data Register (PTT)
2.4.3.16 Port T Input Register (PTIT)
Address 0x0240 (G1, G2) Access: User read/write
1
1
Read: Anytime. The data source is depending on the data direction value.
Write: Anytime
76543210
R
PTT7 PTT6 PTT5 PTT4 PTT3 PTT2 PTT1 PTT0
W
Reset 00000000
Address 0x0240 (G3) Access: User read/write
1
76543210
R 0 0
PTT5 PTT4 PTT3 PTT2 PTT1 PTT0
W
Reset 00000000
Figure 2-16. Port T Data Register (PTT)
Table 2-35. PTT Register Field Descriptions
Field Description
7-0
PTT
Port T general-purpose input/output data—Data Register
When not used with an alternative signal, the associated pin can be used as general-purpose I/O. In
general-purpose output mode the port data 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 data register bit, otherwise the
buffered pin input state is read.
Address 0x0241 (G1, G2) Access: User read only
1
1
Read: Anytime
Write:Never
76543210
R PTIT7 PTIT6 PTIT5 PTIT4 PTIT3 PTIT2 PTIT1 PTIT0
W
Reset 00000000
Address 0x0241 (G3) Access: User read only
1
76543210
R 0 0 PTIT5 PTIT4 PTIT3 PTIT2 PTIT1 PTIT0
W
Reset 00000000
Figure 2-17. Port T Input Register (PTIT)