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.

[参考译文] CC3220S-LAUNCHXL:ADC 使用哪些驱动程序?

Guru**** 2578945 points


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

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/719253/cc3220s-launchxl-which-drivers-to-use-for-adc

器件型号:CC3220S-LAUNCHXL

您好!

我想在 CC3220中将 ADC 与 DMA 一起使用。

我看到有2个 ADC 驱动 程序位于"ti\simplelink_cc32xx_sdk_2_10_00_04\source\ti\devices\cc32xx\driverlib"和"ti\simplelink_cc32xx_sdk_2_10_00_04\source\ti\drivers"。  

 ti\drivers\ADC.h 文件没有任何与启用 DMA 和处理中断相关的功能,如  ti\devices\cc32xx\driverlib\adc.h。

要使用哪个驱动程序、driverlib 与驱动程序有何不同

提前感谢。

此致

Prateek

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

    driverlib 包括适用于各种 SimpleLink 器件的特定于器件的 API、而 TI 驱动程序基本上提供了更高级别的 API、从而在 SimpleLink 平台中的各种器件之间实现更好的一致性/可移植性。

    遗憾的是、TI 驱动程序目前不支持具有适用于 CC3220的 DMA 的 ADC。 为此、我建议使用 driverlib ADC API。

    谢谢、
    Alexis