在用28379D做AD结果offset后处理时,配置ADCPPB1CONFIG发现以下问题:
1.运行controlsuite例程adc_ppb_offset没有问题,但语句AdcaRegs.ADCPPB1CONFIG.bit.CONFIG = 0;移植到自己的工程中报错:expected a field name.
2.在数据手册中ADCPPB1CONFIG寄存器第五位是CBCEN,但adc.h文件定义的结构体不含该元素。
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.
在用28379D做AD结果offset后处理时,配置ADCPPB1CONFIG发现以下问题:
1.运行controlsuite例程adc_ppb_offset没有问题,但语句AdcaRegs.ADCPPB1CONFIG.bit.CONFIG = 0;移植到自己的工程中报错:expected a field name.
2.在数据手册中ADCPPB1CONFIG寄存器第五位是CBCEN,但adc.h文件定义的结构体不含该元素。