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.

[参考译文] MSP430G2955:如何将7位 I2C 地址向左移位并在主接收器中添加 R/W 位?

Guru**** 2578795 points
Other Parts Discussed in Thread: MSP430G2955

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/611396/msp430g2955-how-to-shift-the-7-bit-i2c-address-to-the-left-and-add-the-r-w-bit-in-master-receiver

器件型号:MSP430G2955

大家好、

正如我在 MSP430G2955示例代码、表和用户示例示例中看到的、我找不到向左移动7位 I2C slaveaddress 并添加 R/W 位的方法? 我有点困惑、我应该使用哪种寄存器、并且位?  它是代表 R/W 位的 UCTR 位吗、它是 UCB0I2CSA 吗?我必须使用左移位寄存器吗?

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您不需要左移、硬件会在合并 I2CSA 和 UCTR 字段中的值时自动执行此操作。 (UCTR 位是总线上 R/W 位的倒数。)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    感谢您的回复、我现在就取消了