Freescale Semiconductor MC9S12XDP512 Microscope & Magnifier User Manual


 
Chapter 4 Port Integration Module (S12XDP512PIMV2)
MC9S12XDP512 Data Sheet, Rev. 2.11
206 Freescale Semiconductor
4.3.2.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.
This register is used to enable pull-up devices for the associated ports A, B, C, D, E, and K. Pull-up devices
are assigned on a per-port basis and apply to any pin in the corresponding port that is currently configured
as an input.
0x000C (PRR)
76543210
R
PUPKE BKPUE
0
PUPEE PUPDE PUPCE PUPBE PUPAE
W
Reset 11010000
= Unimplemented or Reserved
Figure 4-13. S12X_EBI Ports, BKGD, VREGEN Pin Pull-up Control Register (PUCR)
Table 4-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.