AdcRegs.ADCMAXCONV.all = 0x0033; // 每个序列发生器4 个双转换(共8 个)
上面是DSP2808ADC转换数据手册上的例程来的,实在不懂什么意思,请指教!
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.
先看寄存器的解释:
MAX_CONVn bit field defines the maximum number of conversions executed in an autoconversion
session. The bit fields and their operation vary according to the sequencer modes (dual/cascaded).
For SEQ1 operation, bits MAX_CONV1[2:0] are used.
For SEQ2 operation, bits MAX_CONV2[2:0] are used.
For SEQ operation, bits MAX_CONV1[3:0] are used. An autoconversion session always starts with
the initial state and continues sequentially until the end state if allowed. The result buffer is filled in a
sequential order. Any number of conversions between 1 and (MAX_CONVn +1) can be programmed
for a session.
采用并行采样,每个序列发生器4 (3+1)个双转换