English
Language : 

MC9S12KG128_10 Datasheet, PDF (173/606 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 4 Port Integration Module (PIM9KG128V1)
4.4.5 Pull Device Enable Register
The Pull Device Enable Register turns on a pull-up or pull-down device. The pull device becomes active
only if the pin is used as an input or as a wired-or output.
4.4.6 Polarity Select Register
The Polarity Select Register selects either a pull-up or pull-down device if enabled. The pull device
becomes active only if the pin is used as an input or as a wired-or output.
4.4.7 Pin Configuration Summary
The following table summarizes the effect on the various configuration bits, data direction (DDR), output
level (I/O), reduced drive (RDR), pull enable (PE), pull select (PS) and interrupt enable (IE) for the ports.
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 pull-up or pull-down device if PE is active.
Table 4-43. Pin Configuration Summary
DDR
IO
RDR
PE
PS
IE1
0
X
X
0
X
0
0
X
X
1
0
0
0
X
X
1
1
0
0
X
X
0
0
1
0
X
X
0
1
1
0
X
X
1
0
1
0
X
X
1
1
1
1
0
0
X
X
0
1
1
0
X
X
0
1
0
1
X
X
0
1
1
1
X
X
0
1
0
0
X
0
1
1
1
0
X
1
1
1
0
1
X
0
1
1
1
1
X
1
1
1 Applicable only on port P, H, and J.
Function
Input
Input
Input
Input
Input
Input
Input
Output, full drive to 0
Output, full drive to 1
Output, reduced drive to 0
Output, reduced drive to 1
Output, full drive to 0
Output, full drive to 1
Output, reduced drive to 0
Output, reduced drive to 1
Pull Device
Disabled
Pull Up
Pull Down
Disabled
Disabled
Pull Up
Pull Down
Disabled
Disabled
Disabled
Disabled
Disabled
Disabled
Disabled
Disabled
Interrupt
Disabled
Disabled
Disabled
Falling edge
Rising edge
Falling edge
Rising edge
Disabled
Disabled
Disabled
Disabled
Falling edge
Rising edge
Falling edge
Rising edge
NOTE
All bits of all registers in this module are completely synchronous to internal
clocks during a register read.
MC9S12KG128 Data Sheet, Rev. 1.16
Freescale Semiconductor
173