English
Language : 

MC9S12XD256CAG Datasheet, PDF (880/1348 Pages) Freescale Semiconductor, Inc – MC9S12XDP512 Data Sheet
Chapter 22 DP512 Port Integration Module (S12XDP512PIMV2)
22.4.1.2 Input Register
This is a read-only register and always returns the buffered state of the pin (Figure 22-76).
22.4.1.3 Data Direction Register
This register defines whether the pin is used as an input or an output.
If a peripheral module controls the pin the contents of the data direction register is ignored (Figure 22-76).
PTI
0
1
PIN
PT
0
1
DDR
0
1
data out
Module output enable
module enable
Figure 22-76. Illustration of I/O Pin Functionality
22.4.1.4 Reduced Drive Register
If the pin is used as an output this register allows the configuration of the drive strength.
22.4.1.5 Pull Device Enable Register
This register turns on a pull-up or pull-down device. It becomes active only if the pin is used as an input
or as a wired-OR output.
22.4.1.6 Polarity Select Register
This register selects either a pull-up or pull-down device if enabled. It becomes active only if the pin is
used as an input. A pull-up device can be activated if the pin is used as a wired-OR output. If the pin is
used as an interrupt input this register selects the active interrupt edge.
22.4.1.7 Wired-OR Mode Register
If the pin is used as an output this register turns off the active high drive. This allows wired-OR type
connections of outputs.
MC9S12XDP512 Data Sheet, Rev. 2.21
882
Freescale Semiconductor