English
Language : 

S9S12GN32F0MLC Datasheet, PDF (223/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
Port Integration Module (S12GPIMV1)
Table 2-54. DDRM Register Field Descriptions
Field
Description
3-0 Port M data direction—
DDRM This bit determines whether the associated pin is a general-purpose input or output.
1 Associated pin configured as output
0 Associated pin configured as input
2.4.3.30 Port M Pull Device Enable Register (PERM)
Address 0x0254 (G1, G2)
7
6
5
4
3
2
R
0
0
0
0
PERM3
PERM2
W
Reset
0
0
0
0
0
0
Address 0x0254 (G3)
7
R
0
W
Reset
0
1 Read: Anytime
Write: Anytime
6
5
4
3
2
0
0
0
0
0
0
0
0
0
0
Figure 2-31. Port M Pull Device Enable Register (PERM)
Access: User read/write1
1
0
PERM1
PERM0
0
0
Access: User read/write1
1
0
PERM1
PERM0
0
0
Table 2-55. PERM Register Field Descriptions
Field
Description
3-1
PERM
Port M pull device enable—Enable pull device on input pin or wired-or output pin
This bit controls whether a pull device on the associated port input pin is active. The polarity is selected by the related
polarity select register bit. If a pin is used as output this bit has only effect if used in wired-or mode with a pullup
device.
0
PERM
1 Pull device enabled
0 Pull device disabled
Port M pull device enable—Enable pull device on input pin or wired-or output pin
This bit controls whether a pull device on the associated port input pin is active. The polarity is selected by the related
polarity select register bit. If a pin is used as output this bit has only effect if used in wired-or mode with a pullup
device.
If CAN is active the selection of a pulldown device on the RXCAN input will have no effect.
1 Pull device enabled
0 Pull device disabled
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
225