Datasheet
Key Wakeup Registers
MC68HC812A4 Data Sheet, Rev. 7
Freescale Semiconductor 99
9.2.14 Port J Pullup/Pulldown Select Register
Read: Anytime
Write: Anytime
Each bit in the register corresponds to a port J pin. Each bit selects a pullup or pulldown device for the
associated port J pin. The pullup or pulldown is active only if enabled by the PULEJ register.
PUPSJ should be initialized before enabling the pullups/pulldowns (PUPEJ).
PUPSJ7–PUPSJ0 — Key Wakeup Port J Pullup/Pulldown Select Bits
1 = Pullup is selected for the associated port J pin.
0 = Pulldown is selected for the associated port J pin.
9.2.15 Port J Pullup/Pulldown Enable Register
Read: Anytime
Write: Anytime
Each bit in the register corresponds to a port J pin. If a pin is configured as an input, each bit enables an
active pullup or pulldown device. PUPSJ selects whether a pullup or a pulldown is the active device.
PULEJ7–PULEJ0 — Key Wakeup Port J Pullup/Pulldown Enable Bits
1 = Selected pullup/pulldown device for the associated port J pin is enabled if it is an input.
0 = Associated port J pin has no pullup/pulldown device.
Address: $002D
Bit 7654321Bit 0
Read:
PUPSJ7 PUPSJ6 PUPSJ5 PUPSJ4 PUPSJ3 PUPSJ2 PUPSJ1 PUPSJ0
Write:
Reset:00000000
Figure 9-14. Port J Pullup/Pulldown Select Register (PUPSJ)
Address: $002E
Bit 7654321Bit 0
Read:
PULEJ7 PULEJ6 PULEJ5 PULEJ4 PULEJ3 PULEJ2 PULEJ1 PULEJ0
Write:
Reset:00000000
Figure 9-15. Port J Pullup/Pulldown Enable Register (PULEJ)
