Datasheet
Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.13
100 Freescale Semiconductor
2.3.38 Port M Pull Device Enable Register (PERM)
2.3.39 Port M Polarity Select Register (PPSM)
Address 0x0254 Access: User read/write
1
1
Read: Anytime
Write: Anytime
76543210
R
PERM7 PERM6 PERM5 PERM4 PERM3 PERM2 PERM1 PERM0
W
Reset 00000000
Figure 2-36. Port M Pull Device Enable Register (PERM)
Table 2-34. PERM Register Field Descriptions
Field Description
7-0
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. 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
Address 0x0255 Access: User read/write
1
1
Read: Anytime
Write: Anytime
76543210
R
PPSM7 PPSM6 PPSM5 PPSM4 PPSM3 PPSM2 PPSM1 PPSM0
W
Reset 00000000
Figure 2-37. Port M Polarity Select Register (PPSM)
Table 2-35. PPSM Register Field Descriptions
Field Description
7-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 CAN0 is active the selection of a pull-down device on the RXCAN input will have no effect.
1 A pull-down device selected
0 A pull-up device selected
