English
Language : 

S9S12G48F1CLC Datasheet, PDF (156/1292 Pages) Freescale Semiconductor, Inc – Microcontrollers
Port Integration Module (S12GPIMV1)
Term
Port
Definition
Group of general-purpose I/O pins sharing peripheral signals
2.1.2 Overview
The PIM establishes the interface between the peripheral modules and the I/O pins. It controls the
electrical pin properties as well as the signal prioritization and multiplexing on shared pins.
The family devices share same sets of package options (refer to device overview section) determining the
availability of pins and the related PIM memory maps. The corresponding devices are referenced
throughout this section by their group name as shown in Table 2-2.
Table 2-2. Device Groups
Group
Devices with same set of package options
G1
S12G240, S12GA240
(100/64/48) S12G192, S12GA192
S12G128, S12GA128
S12G96, S12GA96
G2
S12G64, S12GA641,
(64/48/32) S12G48, S12GA481,S12GN48
G3
S12GN32, S12GNA321,2
(48/32/20) S12GN16, S12GNA161,2
1 No 32 pin
2 No 20 pin
2.1.3 Features
The PIM includes these distinctive registers:
• Data registers and data direction registers for ports A, B, C, D, E, T, S, M, P, J and AD when used
as general-purpose I/O
• Control registers to enable/disable pull devices and select pullups/pulldowns on ports T, S, M, P, J
and AD on per-pin basis
• Single control register to enable/disable pull devices on ports A, B, C, D and E, on per-port basis
and on BKGD pin
• Control registers to enable/disable open-drain (wired-or) mode on ports S and M
• Interrupt flag register for pin interrupts on ports P, J and AD
• Control register to configure IRQ pin operation
• Routing register to support programmable signal redirection in 20 TSSOP only
• Routing register to support programmable signal redirection in 100 LQFP package only
• Package code register preset by factory related to package in use, writable once after reset. Also
includes bit to reprogram routing of API_EXTCLK in all packages.
MC9S12G Family Reference Manual, Rev.1.23
158
Freescale Semiconductor