![](http://datasheet.mmic.net.cn/Freescale-Semiconductor/MC9S12XS64CAE_datasheet_98886/MC9S12XS64CAE_79.png)
Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.13
Freescale Semiconductor
79
2.3.10
Ports ABEK, BKGD pin Pull-up Control Register (PUCR)
Table 2-9. DDRE Register Field Descriptions
Field
Description
7-2
DDRE
Port E Data Direction—
This bit determines whether the associated pin is an input or output.
1 Associated pin congured as output
0 Associated pin congured as input
Address 0x000C (PRR)
Access: User read/write1
1 Read: Anytime in single-chip modes
Write: Anytime, except BKPUE which is writable in Special Single-Chip Mode only
76543210
R
PUPKE
BKPUE
0
PUPEE
00
PUPBE
PUPAE
W
Reset
11010000
= Unimplemented or Reserved
Figure 2-8. Ports ABEK, BKGD pin Pull-up Control Register (PUCR)
Table 2-10. PUCR Register Field Descriptions
Field
Description
7
PUPKE
Port K Pull-up Enable—Enable pull-up devices on all port input pins
This bit congures whether a pull-up device is activated on all associated port input pins. If a pin is used as output
this bit has no effect.
1 Pull-up device enabled
0 Pull-up device disabled
6
BKPUE
BKGD pin pull-up Enable—Enable pull-up device on pin
This bit congures whether a pull-up device is activated, if the pin is used as input. If a pin is used as output this bit
has no effect.
1 Pull-up device enabled
0 Pull-up device disabled
4
PUPEE
Port E Pull-up Enable—Enable pull-up devices on all port input pins except pins 5 and 6
This bit congures whether a pull-up device is activated on all associated port input pins. If a pin is used as output
this bit has no effect.
Pins 5 and 6 have pull-down devices enabled only during reset. This bit has no effect on these pins.
1 Pull-up device enabled
0 Pull-up device disabled