Freescale Semiconductor, Inc.
I/O Ports with Key Wake-up
Key Wake-up and Port Registers
Bit 7
6
KWIFG6
0
5
KWIFG5
0
4
KWIFG4
0
3
KWIFG3
0
2
KWIFG2
0
1
KWIFG1
0
Bit 0
KWIFG0
0
0
0
RESET:
KWIFG — Key Wake-up Port G Flag Register
$002E
Each flag, except bit 6, is set by a falling edge on its associated input pin.
To clear the flag, write one to the corresponding bit in KWIFG.
Read and write anytime
Bit 7 always reads zero.
KWIFG6 — Key Wake-up Port G Flag 6
0 = Falling edge on the associated bit or I2C Start condition has not
occurred
1 = Falling edge on the associated bit or I2C Start condition has
occurred (an interrupt will occur if the associated enable bit is set)
Depending on WI2CE bit in KWIEG register, KWIFG6 flags either
falling edge or I2C Start condition.
KWIFG[5:0] — Key Wake-up Port G Flags
0 = Falling edge on the associated bit has not occurred
1 = Falling edge on the associated bit has occurred (an interrupt
will occur if the associated enable bit is set).
68HC(9)12D60 — Rev 4.0
MOTOROLA
Advance Information
I/O Ports with Key Wake-up
139
For More Information On This Product,
Go to: www.freescale.com