SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD Page 101 Version 1.5
The address in the Slave Address register has been received.
The General Call address has been received while the General Call
bit (GC) in the ADR register is set.
A data byte has been received while the I2C is in the master
receiver mode.
A data byte has been received while the I2C is in the addressed
slave receiver mode.
HW will clear after issuing ACK automatically.
Assert NACK (HIGH level to SDA) flag.
0: No function.
1: An NACK will be returned during the acknowledge clock pulse on SCLn
when
A data byte has been received while the I2C is in the master
receiver mode.
HW will clear after issuing NACK automatically.
9.7.2 I2C n Status register (I2Cn_STAT) (n=0)
Address Offset: 0x04
Check this register when I2C interrupt occurs, and all status will be cleared automatically by writing I2Cn_CTRL or
I2Cn_TXDATA register.
While I2CIF =1, the low period of the serial clock on the SCL line is stretched, and the serial transfer is suspended.
When SCL is HIGH, it is unaffected by the state of I2CIF.
Following events will trigger I2C interrupt if I2C interrupt is enabled in NVIC interrupt controller.
START/Repeat START condition
STOP condition
Timeout
Data byte transmitted or received
ACK Transmit or received
NACK Transmit or received
I2C Interrupt flag.
0: I2C status doesn’t change.
1: ReadI2C status changes.
WriteClear this flag.
Time-out status.
0: No Timeout.
1: Timeout.
Lost arbitration.
0: Not lost arbitration.
1: Lost arbitration.
0: No matched slave address.
1: Slave address hit, and is called for TX in slave mode.
0: No matched slave address.
1: Slave address hit, and is called for RX in slave mode.
Master/Slave status.
0: I2C is in Slave state.
1: I2C is in Master state.
Start done status.
0: No START bit.
1: MASTER mode a START bit was issued.
SLAVE modea START bit was received.
Stop done status.
0: No STOP bit.
1: MASTER modea STOP condition was issued.