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.

[参考译文] MSP430F2013:IAR 编译器找不到 ADC10CTL0寄存器的定义

Guru**** 2390755 points
Other Parts Discussed in Thread: MSP430F2013

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/607384/msp430f2013-iar-compiler-cannot-find-definition-of-adc10ctl0-register

器件型号:MSP430F2013

您好!

我使用的是 MSP430的 IAR C 编译器。  我从 slac080o (MSP430F20x1、MSP430F20x2、MSP430F20x3代码示例)下载了文件(修订版 O)。 我包含了 MSP430F2013.h  我使用 msp430x20x2_ADC10_01.c 来构建工程、但编译器会提示"ADC10CTL0"未定义。  我需要包含哪个.h 文件?

谢谢、Jian

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

    MSP430F2013有一个 SD16_A 代替 ADC10、这可以在查看数据表时观察到。

    此致、
    Ryan