
I/O Ports With Key Wake-Up
Key Wake-up and Port Registers
68HC(9)12DG128 Rev 1.0
MOTOROLA
I/O Ports With Key Wake-Up
135
Read and write anytime. It is best to clear the flags after initializing this
register because changing the polarity of a bit can cause the associated
flag to become set.
KWPJ[7:0] — Key Wake-up Port J Polarity Selects
0 = Falling edge on the associated port J pin sets the associated
flag bit in the KWIFJ register and a resistive pull-up device is
connected to associated port J input pin.
1 = Rising edge on the associated port J pin sets the associated
flag bit in the KWIFJ register and a resistive pull-down device
is connected to associated port J input pin.
Read and write anytime. It is best to clear the flags after initializing this
register because changing the polarity of a bit can cause the associated
flag to become set.
KWPH[7:0] — Key Wake-up Port H Polarity Selects
0 = Falling edge on the associated port H pin sets the associated
flag bit in the KWIFH register and a resistive pull-up device is
connected to associated port H input pin.
1 = Rising edge on the associated port H pin sets the associated
flag bit in the KWIFH register and a resistive pull-down device
is connected to associated port H input pin.
KWPJ
— Key Wake-up Port J Polarity Register
$0030
Bit 7
6
5
4
3
2
1
Bit 0
KWPJ7
KWPJ6
KWPJ5
KWPJ4
KWPJ3
KWPJ2
KWPJ1
KWPJ0
RESET:
0
0
0
0
0
0
0
0
KWPH
— Key Wake-up Port H Polarity Register
$0031
Bit 7
6
5
4
3
2
1
Bit 0
KWPH7
KWPH6
KWPH5
KWPH4
KWPH3
KWPH2
KWPH1
KWPH0
RESET:
0
0
0
0
0
0
0
0
5-kwu