English
Language : 

MC9S12G Datasheet, PDF (210/1160 Pages) Freescale Semiconductor, Inc – Ignores external trigger. Performs one conversion sequence and stops.
Port Integration Module (S12GPIMV0)
2.5.2.4 Pull Device Enable Register (PERx)
This register turns on a pullup or pulldown device on the related pins determined by the associated polarity
select register (2.5.2.5/2-210).
The pull device becomes active only if the pin is used as an input or as a wired-or output. Some peripheral
module only allow certain configurations of pull devices to become active. Refer to Section 2.3, “PIM
Routing - Functional description”.
2.5.2.5 Pin Polarity Select Register (PPSx)
This register selects either a pullup or pulldown device if enabled.
It becomes only active if the pin is used as an input. A pullup device can be activated if the pin is used as
a wired-or output.
2.5.2.6 Wired-Or Mode Register (WOMx)
If the pin is used as an output this register turns off the active-high drive. This allows wired-or type
connections of outputs.
2.5.2.7 Interrupt Enable Register (PIEx)
If the pin is used as an interrupt input this register serves as a mask to the interrupt flag to enable/disable
the interrupt.
2.5.2.8 Interrupt Flag Register (PIFx)
If the pin is used as an interrupt input this register holds the interrupt flag after a valid pin event.
2.5.2.9 Pin Routing Register (PRRx)
This register allows software re-configuration of the pinouts for specific peripherals in the 20 TSSOP
package only.
2.5.2.10 Package Code Register (PKGCR)
This register determines the package in use. Pre programmed by factory.
2.5.3 Pin Configuration Summary
The following table summarizes the effect of the various configuration bits, that is data direction (DDR),
output level (IO), pull enable (PE), pull select (PS) on the pin function and pull device activity.
The configuration bit PS is used for two purposes:
1. Configure the sensitive interrupt edge (rising or falling), if interrupt is enabled.
2. Select either a pullup or pulldown device if PE is active.
MC9S12G Family Reference Manual, Rev.1.01
210
Freescale Semiconductor
This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.