< div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >亲爱的对话团队,< / p > < p >我想用ADC差模,but I can't understand how to set input pins. For example, I want to set P0_6 as positive input pin and P0_7 as negative input pin.
But I couldn't set both input pin in adc_config_t because selectable input pin is one.
adc_config_t adc_cfg =
{
.input_mode = ADC_INPUT_MODE_DIFFERENTIAL,
.input = ADC_INPUT_DIFF_P0_6, // Where can I write ADC_INPUT_DIFF_P0_7 ?
.smpl_time_mult = 2,
.continuous = false,
.interval_mult = 0,
.input_attenuator = ADC_INPUT_ATTN_NO,
.chopping = false,
.oversampling = 1
};
Could you tell me the solution?
Best Regards,