Datasheet

I/O Ports with Key Wake-up
Key Wake-up and Port Registers
MC68HC912D60A — Rev. 3.1 Technical Data
Freescale Semiconductor I/O Ports with Key Wake-up 133
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).
Bit 7654321Bit 0
0 KWIFG6 KWIFG5 KWIFG4 KWIFG3 KWIFG2 KWIFG1 KWIFG0
RESET:00000000
KWIFG — Key Wake-up Port G Flag Register $002E