![](http://datasheet.mmic.net.cn/370000/P312XDP512F0VFV_datasheet_16728159/P312XDP512F0VFV_926.png)
Chapter 23 DQ256 Port Integration Module (S12XDQ256PIMV2)
MC9S12XDP512 Data Sheet, Rev. 2.17
926
Freescale Semiconductor
23.0.5.11 S12X_EBI Ports, BKGD, VREGEN Pin Pull-up Control Register (PUCR)
Read: Anytime in single-chip modes.
Write: Anytime, except BKPUE which is writable in special test mode only.
Thisregisterisusedtoenablepull-updevicesfortheassociatedportsA,B,C,D,E,andK.Pull-updevices
are assigned on a per-port basis and apply to any pin in the corresponding port currently configured as an
input.
7
6
5
4
3
2
1
0
R
PUPKE
BKPUE
0
PUPEE
PUPDE
PUPCE
PUPBE
PUPAE
W
Reset
1
1
0
1
0
0
0
0
= Unimplemented or Reserved
Figure 23-13. S12X_EBI Ports, BKGD, VREGEN Pin Pull-up Control Register (PUCR)
Table 23-14. PUCR Field Descriptions
Field
Description
7
PUPKE
Pull-up Port K Enable
0 Port K pull-up devices are disabled.
1 Enable pull-up devices for Port K input pins.
6
BKPUE
BKGD and VREGEN Pin Pull-up Enable
0 BKGD and V
REGEN
pull-up devices are disabled.
1 Enable pull-up devices on BKGD and V
REGEN
pins.
4
PUPEE
Pull-up Port E Enable
0 Port E pull-up devices on bit 7, 4–0 are disabled.
1 Enable pull-up devices for Port E input pins bits 7, 4–0.
Note:
Bits 5 and 6 of Port E have pull-down devices which are only enabled during reset. This bit has no effect
on these pins.
3
PUPDE
Pull-up Port D Enable
0 Port D pull-up devices are disabled.
1 Enable pull-up devices for all Port D input pins.
2
PUPCE
Pull-up Port C Enable
0 Port C pull-up devices are disabled.
1 Enable pull-up devices for all Port C input pins.
1
PUPBE
Pull-up Port B Enable
0 Port B pull-up devices are disabled.
1 Enable pull-up devices for all Port B input pins.
0
PUPAE
Pull-up Port A Enable
0 Port A pull-up devices are disabled.
1 Enable pull-up devices for all Port A input pins.