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.

例程里面的ADC_BACE 3指的是什么



例程里面的ADC_BACE 3指的是什么,这个和sequence有什么关系

  • //
    // Enable sample sequence 3 with a processor signal trigger. Sequence 3
    // will do a single sample when the processor sends a signal to start the
    // conversion. Each ADC module has 4 programmable sequences, sequence 0
    // to sequence 3. This example is arbitrarily using sequence 3.
    //
    ADCSequenceConfigure(ADC0_BASE, 3, ADC_TRIGGER_PROCESSOR, 0);\

    ADC_BACE,TM4C123x有两个ad,分别是adc0和adc1,这里用到的是adc0

    3是序列通道,每个ad都有4个序列通道,这里用到的是通道3.