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.

[参考译文] TM4C1294NCPDT:将已弃用的函数 SysCtlADCSpeedSet 迁移到 Tivaware C 系列库中的新 ADCClockConfigSet

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1283835/tm4c1294ncpdt-migrating-deprecated-function-sysctladcspeedset-to-the-new-adcclockconfigset-in-tivaware-c-series-library

器件型号:TM4C1294NCPDT
主题中讨论的其他器件:TM4C129XNCZAD

大家好!

我将把一个软件从微控制器  TM4C129XNCZAD 迁移到 TM4C1294NCPDT 1。

我发现我还需要将 tivaware 依赖项从2.0.1.11577版更改为2.2.0.295版

软件使用一个名为 SysCtlADCSpeedSet ()的函数,我从 TIvaware 库的发布日志中看到该函数被取消校正并被函数 ADCClockConfigSet 替换。  

之前对函数的调用为 SysCtlADCSPPEedSet (SYSCTL_ADCSPEED_125KSPS)

我应该如何设置这个新函数、以便获得与旧函数相同的行为?

提前感谢您的任何帮助、

此致、

斯特凡诺