EasyManuals Logo

NXP Semiconductors MC9S12G User Manual

NXP Semiconductors MC9S12G
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #217 background imageLoading...
Page #217 background image
Port Integration Module (S12GPIMV1)
MC9S12G Family Reference Manual Rev.1.27
NXP Semiconductors 219
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
76543210
R
APICLKS7
0000
PKGCR2 PKGCR1 PKGCR0
W
Reset00000FFF
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 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”.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors MC9S12G and is the answer not in the manual?

NXP Semiconductors MC9S12G Specifications

General IconGeneral
BrandNXP Semiconductors
ModelMC9S12G
CategoryMicrocontrollers
LanguageEnglish

Related product manuals