1768165764 发表于 2023-10-13 18:02:33

ADC通道选择问题

        AdcRegs.ADCTRL1.bit.SEQ_OVRD = 1;       // Enable Sequencer override feature
        AdcRegs.ADCCHSELSEQ1.all = 0x0;         // Initialize all ADC channel selects to A0
        AdcRegs.ADCCHSELSEQ2.all = 0x0;
        AdcRegs.ADCCHSELSEQ3.all = 0x0;
        AdcRegs.ADCCHSELSEQ4.all = 0x0;
        AdcRegs.ADCMAXCONV.bit.MAX_CONV1 = 0x7;// convert and store in 8 results registers

请问一下,        AdcRegs.ADCCHSELSEQ1.all = 0x0;         // Initialize all ADC channel selects to A0,怎么理解?开了十六个通道,这里最大通道数怎么为8?
       

wtliu 发表于 2023-12-6 13:13:16

:lol:lol:lol
页: [1]
查看完整版本: ADC通道选择问题