English
Language : 

MC9S12P128 Datasheet, PDF (85/564 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
2.3.36
Port M Pull Device Enable Register (PERM)
Port Integration Module (S12PPIMV1)
Address 0x0254
7
R
0
W
Reset
0
1. Read: Anytime
Write: Anytime
Access: User read/write(1)
6
5
4
3
2
1
0
0
PERM5
PERM4
PERM3
PERM2
PERM1
PERM0
0
0
0
0
0
0
0
Figure 2-34. Port M Pull Device Enable Register (PERM)
Table 2-32. PERM Register Field Descriptions
Field
5-0
PERM
Description
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. If a pin is used as output this bit has
only effect if used in wired-or mode. The polarity is selected by the related polarity select register bit.
1 Pull device enabled
0 Pull device disabled
2.3.37 Port M Polarity Select Register (PPSM)
Address 0x0255
7
R
0
W
Reset
0
1. Read: Anytime
Write: Anytime
6
5
4
3
2
0
PPSM5
PPSM4
PPSM3
PPSM2
0
0
0
0
0
Figure 2-35. Port M Polarity Select Register (PPSM)
Access: User read/write(1)
1
0
PPSM1
PPSM0
0
0
Table 2-33. PPSM Register Field Descriptions
Field
Description
5-0
PPSM
Port M pull device select—Configure pull device polarity on input pin
This bit selects a pull-up or a pull-down device if enabled on the associated port input pin.
If CAN is active the selection of a pull-down device on the RXCAN input will have no effect.
1 A pull-down device is selected
0 A pull-up device is selected
S12P-Family Reference Manual, Rev. 1.12
Freescale Semiconductor
85