初次使用F28335的I2C模块,就我的理解,STOP条件只会在读写EEPROM完成时产生,
但根据Example_2833xI2C_eeprom.c例程中的注释:
// If a message receives a NACK during the address setup portion of the
// EEPROM read, the code further below included in the register access ready
// interrupt source code will generate a stop condition. After the stop
// condition is received (here), set the message status to try again.
// User may want to limit the number of retries before generating an error.
似乎还有其他条件下会产生STOP条件,谁能帮我解释一下呀?
非常感谢!