|
使用例程0.4,可以正常测量VREF1V2,但是在MF_ADC_Common_Init()函数中,一旦将clockSource切换为FL_RCC_ADC_CLK_SOURCE_RCMF_PSC,ADC测量的VREF1V2就不准确了
void MF_ADC_Common_Init(void)
{
/*IO CONFIG*/
FL_ADC_CommonInitTypeDef CommonInitStruct;
CommonInitStruct.clockSource = FL_RCC_ADC_CLK_SOURCE_RCHF;
CommonInitStruct.clockPrescaler = FL_RCC_ADC_PSC_DIV1;
FL_ADC_CommonInit(&CommonInitStruct );
}
请问会是什么问题?
|
|