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.

[参考译文] CCS:MSP432库函数。。。请参阅下图

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/678585/ccs-msp432-library-functions-see-the-following-picture

工具/软件:Code Composer Studio

为什么在手动 TAIV 和 TAxEX0地址差异0x0E 中、以及在库中(虚线)、在两个寄存器、、、、、

不应该是 uint16_t RESERVED2[14]????

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

    手册和库是一致的。 给出的地址偏移量是字节地址、所有相关寄存器都是16位(2字节)变量。 这将为 Timer_A_Type 结构生成以下地址:

    地址 寄存器
    00 CTL
    02 CCTL[0]
    04 CCTL[1]
    06 CCTL[2]
    08 CCTL[3]
    0a CCTL[4]
    0°C RESERVED0[0]
    0E RESERVED0[1]
    20. Ex0
    22. RESERVED1[0]
    24 RESERVED1[1]
    26 RESERVED1[2]
    28. RESERVED1[3]
    2A RESERVED1[4]
    2c. RESERVED1[5]
    2e

    此致、

     Bob L.