Техническая Спецификация для Freescale Semiconductor Tower System Eval Kit for MC9S12GN32 TWR-S12GN32-KIT TWR-S12GN32-KIT

Модели
TWR-S12GN32-KIT
Скачать
Страница из 1292
Port Integration Module (S12GPIMV1)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
225
2.4.3.30
Port M Pull Device Enable Register (PERM)
Table 2-54. DDRM Register Field Descriptions
Field
Description
3-0
DDRM
Port M data direction
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
 Address 0x0254 (
,
)
Access: User read/write
1
1
Read: Anytime
Write: Anytime
7
6
5
4
3
2
1
0
 
R
0
0
0
0
PERM3
PERM2
PERM1
PERM0
 W
Reset
0
0
0
0
0
0
0
0
 Address 0x0254 (
)
Access: User read/write
7
6
5
4
3
2
1
0
 
R
0
0
0
0
0
0
PERM1
PERM0
 W
Reset
0
0
0
0
0
0
0
0
Figure 2-31. Port M Pull Device Enable Register (PERM)
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.
1 Pull device enabled
0 Pull device disabled
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. 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