English
Language : 

MC9S12GRMV1 Datasheet, PDF (209/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
Port Integration Module (S12GPIMV1)
Table 2-31. DDRE Register Field Descriptions
Field
1-0
DDRE
Description
Port E Data Direction—
This bit determines whether the associated pin is an input or output.
1 Associated pin configured as output
0 Associated pin configured as input
2.4.3.11 Ports A, B, C, D, E, BKGD pin Pull Control Register (PUCR)
Address 0x000C (G1)
Access: User read/write1
7
6
5
4
3
2
1
0
R
0
0
BKPUE
PDPEE
PUPDE
PUPCE
PUPBE
PUPAE
W
Reset
0
1
0
1
0
0
0
0
Address 0x000C (G2, G3)
Access: User read/write
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
BKPUE
PDPEE
W
Reset
0
1
0
1
0
0
0
0
Figure 2-12. Ports A, B, C, D, E, BKGD pin Pullup Control Register (PUCR)
1 Read:Anytime in normal mode.
Write:Anytime, except BKPUE, which is writable in special mode only.
Table 2-32. PUCR Register Field Descriptions
Field
Description
6
BKPUE
BKGD pin Pullup Enable—Enable pullup device on pin
This bit configures whether a pullup device is activated, if the pin is used as input. If a pin is used as output this bit
has no effect. Out of reset the pullup device is enabled.
4
PDPEE
1 Pullup device enabled
0 Pullup device disabled
Port E Pulldown Enable—Enable pulldown devices on all port input pins
This bit configures whether a pulldown device is activated on all associated port input pins. If a pin is used as output
or used with the CPMU OSC function this bit has no effect. Out of reset the pulldown devices are enabled.
1 Pulldown devices enabled
0 Pulldown devices disabled
3
PUPDE
Port D Pullup Enable—Enable pullup devices on all port input pins
This bit configures whether a pullup device is activated on all associated port input pins. If a pin is used as output
this bit has no effect.
1 Pullup devices enabled
0 Pullup devices disabled
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
211