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.

[参考译文] F28335

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/565590/f28335

问题1. 最大值为4095。但即使我将电位器/可变电阻 器旋转到其最大电平、我也没有得到4095。我将屏幕截图与我得到的值相连接

问题2.我对代码的某些部分感到困惑、因此我逐一提及

i)如果我们使用内联移位、那么为什么我们必须不使用移位和后移?

II)GPIO34引脚的用途是什么?

III) AdcRegs.ADCCHSELSEQ1.ALL = 0x00;  在这条语句中、它是否会初始化 A1的所有通道?

IV) 表示(i=0;i<(BUF_SIZE /16);i++)

为什么我们必须对 BUF_Size/16进行分频?

(五)这两项声明的需要是什么?

while (AdcRegs.ADCST.bit.INT_SEQ1=0){}
GpioDataRegs.GPBSET.BIO34 = 1;//将 GPIO34设置为监控-可选