请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSP430F5659 您好、对于 I2C 传输、请提供示例代码或 SDK (基于轮询机制)。 我有基于中断的示例代码。 但是、我需要轮询机制。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好、对于 I2C 传输、请提供示例代码或 SDK (基于轮询机制)。 我有基于中断的示例代码。 但是、我需要轮询机制。
你好,穆西亚,
MSP430Ware 中提供了该器件的所有可用示例。 这些可用于根据您的特定需求进行定制。 我们的 I2C 示例通常基于中断、但您可以转换为轮询、即适当地组织主循环流、并轮询 ISR 中使用的相关中断。