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.

[参考译文] MSP430FR2355:msp430fr2355.h 中 UCB0的#defines 错误? (TI 编译器21.6.0.LTS)

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1127807/msp430fr2355-wrong-defines-for-ucb0-in-msp430fr2355-h-ti-compiler-21-6-0-lts

器件型号:MSP430FR2355

你(们)好

在以前的编译器版本中、我用于定义 UCBSTP_0和其他 UCBxxx。 21.6.0.编译 器不知道这些定义。 部分的 msp430fr2355.h 文件中

/* UCB0CTRLW1控制位*/我现在发现它的定义类似于 UCAxxx。 对我来说,它似乎有些定义被搞砸了,不是吗?

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

    UCBxCTLW1的名称 UCASTPx 中的寄存器位。

    UCBSTPxx 的旧定义似乎是错误的?

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

    您好 Ulrich、

    [引用 userid="477896" URL"~μ C/support/microcontrollers/msp-low-power-microcontrollers-group/msp430fr2355-wrong-define-for-ucb0-in-msp430fr2355-h-ti-compiler-21-6-6-chromexamples/1127807/msp430fr2355-wrong-define -for-ucb0-in-ucb0-in-msp430fr2355-in-in-msp430fr2355-msp430fr2355-h-in-ctradore-ctry#ctrlw184rand-trles1引用 U

    这就是 用户指南中的内容 (参见下文)。

    也许这个位特别混乱、因为它是"自动"停止位、因此在 UCASTPx 中是"A"

    BTW、这些寄存器定义未在编译器中定义、而是在 CCS 安装中的路径中:

    C:\ti\ccs1110\ccs\ccs_base\msp430\include

    我返回到之前的 CCS 版本10.40、寄存器和位定义是相同的。