I2Cx_C1 field descriptions (continued)
Field
Description
1
WUEN
Wakeup Enable
The I2C module can wake the MCU from low power mode with no peripheral bus running when slave
address matching occurs.
0
Normal operation. No interrupt generated when address matching in low power mode.
1
Enables the wakeup function in low power mode.
0
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
30.3.4 I2C Status register (I2Cx_S)
Address: Base a 3h offset
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
1
0
0
0
0
0
0
0
I2Cx_S field descriptions
Field
Description
7
TCF
Transfer Complete Flag
This bit sets on the completion of a byte and acknowledge bit transfer. This bit is valid only during or
immediately following a transfer to or from the I2C module. The TCF bit is cleared by reading the I2C data
register in receive mode or by writing to the I2C data register in transmit mode.
0
Transfer in progress
1
Transfer complete
6
IAAS
Addressed As A Slave
This bit is set by one of the following conditions:
• The calling address matches the programmed slave primary address in the A1 register or range
address in the RA register (which must be set to a nonzero value).
• GCAEN is set and a general call is received.
• RMEN is set and an address is received that is within the range between the values of the A1 and
RA registers.
This bit sets before the ACK bit. The CPU must check the SRW bit and set TX/RX accordingly. Writing the
C1 register with any value clears this bit.
0
Not addressed
1
Addressed as a slave
5
BUSY
Bus Busy
Indicates the status of the bus regardless of slave or master mode. This bit is set when a START signal is
detected and cleared when a STOP signal is detected.
Table continues on the next page...
Chapter 30 Inter-Integrated Circuit (I2C)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
477