English
Language : 

MC9S12GRMV1 Datasheet, PDF (225/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
Port Integration Module (S12GPIMV1)
Table 2-57. WOMM Register Field Descriptions
Field
Description
3-0
WOMM
Port M wired-or mode—Enable open-drain functionality on output pin
This bit configures an output pin as wired-or (open-drain) or push-pull. In wired-or mode a logic “0” is driven
active-low while a logic “1” remains undriven. This allows a multipoint connection of several serial modules. The bit
has no influence on pins used as input.
1 Output buffer operates as open-drain output.
0 Output buffer operates as push-pull output.
2.4.3.33 Package Code Register (PKGCR)
Address 0x0257
Access: User read/write1
7
6
5
4
3
2
1
0
R
0
0
0
0
APICLKS7
PKGCR2 PKGCR1 PKGCR0
W
Reset
0
0
0
0
0
F
F
F
After deassert of system reset the values are automatically loaded from the Flash memory. See device specification
for details.
Figure 2-34. Package Code Register (PKGCR)
1 Read: Anytime
Write:
APICLKS7: Anytime
PKGCR2-0: Once in normal mode, anytime in special mode
Table 2-58. PKGCR Register Field Descriptions
Field
Description
7
Pin Routing Register API_EXTCLK —Select PS7 as API_EXTCLK output
APICLKS7
When set to 1 the API_EXTCLK output will be routed to PS7. The default pin will be disconnected in all packages
except 20 TSSOP, which has no default location for API_EXTCLK. See Table 2-59 for more details.
2-0
PKGCR
Package Code Register —Select package in use
Those bits are preset by factory and reflect the package in use. See Table 2-60 for code definition.
The bits can be modified once after reset to allow software development for a different package. In any other
application it is recommended to re-write the actual package code once after reset to lock the register from
inadvertent changes during operation.
Writing reserved codes or codes of larger packages than the given device is offered in are illegal. In these cases the
code will be converted to PKGCR[2:0]=0b111 and select the maximum available package option for the given device.
Codes writes of smaller packages than the given device is offered in are not restricted.
Depending on the package selection the input buffers of non-bonded pins are disabled to avoid shoot-through
current. Also a predefined signal routing will take effect.
Refer also to Section 2.6.5, “Emulation of Smaller Packages”.
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
227