Datasheet
Chapter 2 Port Integration Module (PIM9C32) Block Description
Freescale Semiconductor MC9S12C-Family / MC9S12GC-Family 101
Rev 01.24
2.3.2.6 Port AD Registers
2.3.2.6.1 Port AD I/O Register (PTAD)
Read: Anytime.
Write: Anytime.
If the data direction bits of the associated I/O pins are set to 1, a read returns the value of the port register,
otherwise the value at the pins is read.
2.3.2.6.2 Port AD Input Register (PTIAD)
Read: Anytime.
Write: Never, writes to this register have no effect.
This register always reads back the status of the associated pins. This can be used to detect overload or
short circuit conditions on output pins.
Module Base + 0x0030
76543210
R
PTAD7 PTAD6 PTAD5 PTAD4 PTAD3 PTAD2 PTAD1 PTAD0
W
Reset 0 0 0 00000
Figure 2-40. Port AD I/O Register (PTAD)
Module Base + 0x0031
76543210
R PTIAD7 PTIAD6 PTIAD5 PTIAD4 PTIAD3 PTIAD2 PTIAD1 PTIAD0
W
Reset — — ——————
= Unimplemented or Reserved
Figure 2-41. Port AD Input Register (PTIAD)