TI中文支持网
TI专业的中文技术问题搜集分享网站

F28335的I2C模块产生STOP中断的条件

初次使用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条件,谁能帮我解释一下呀? 

非常感谢!

赞(0)
未经允许不得转载:TI中文支持网 » F28335的I2C模块产生STOP中断的条件
分享到: 更多 (0)