Freescale Semiconductor Tower System Eval Kit for MC9S12GN32 TWR-S12GN32-KIT TWR-S12GN32-KIT Hoja De Datos

Los códigos de productos
TWR-S12GN32-KIT
Descargar
Página de 1292
Port Integration Module (S12GPIMV1)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
227
2.4.3.33
Package Code Register (PKGCR)
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.
 Address 0x0257
Access: User read/write
1
1
Read: Anytime
Write:
APICLKS7: Anytime
PKGCR2-0: Once in normal mode, anytime in special mode
7
6
5
4
3
2
1
0
R
APICLKS7
0
0
0
0
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)
Table 2-58. PKGCR Register Field Descriptions
Field
Description
7
APICLKS7
Pin Routing Register API_EXTCLK —Select PS7 as API_EXTCLK output
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
 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
 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
”.