Searched refs:AdcHandle (Results 1 – 8 of 8) sorted by relevance
27 ADC_HandleTypeDef AdcHandle; variable31 AdcHandle.Instance = ADC1; in AdcMcuInit()35 HAL_ADC_DeInit( &AdcHandle ); in AdcMcuInit()46 AdcHandle.Init.OversamplingMode = DISABLE; in AdcMcuConfig()47 AdcHandle.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2; in AdcMcuConfig()48 AdcHandle.Init.Resolution = ADC_RESOLUTION_12B; in AdcMcuConfig()49 AdcHandle.Init.SamplingTime = ADC_SAMPLETIME_160CYCLES_5; in AdcMcuConfig()50 AdcHandle.Init.ScanConvMode = ADC_SCAN_DIRECTION_FORWARD; in AdcMcuConfig()51 AdcHandle.Init.DataAlign = ADC_DATAALIGN_RIGHT; in AdcMcuConfig()52 AdcHandle.Init.ContinuousConvMode = DISABLE; in AdcMcuConfig()[all …]
41 ADC_HandleTypeDef AdcHandle; variable45 AdcHandle.Instance = ADC1; in AdcMcuInit()49 HAL_ADC_DeInit( &AdcHandle ); in AdcMcuInit()60 AdcHandle.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV1; in AdcMcuConfig()61 AdcHandle.Init.Resolution = ADC_RESOLUTION_12B; in AdcMcuConfig()62 AdcHandle.Init.DataAlign = ADC_DATAALIGN_RIGHT; in AdcMcuConfig()63 AdcHandle.Init.ContinuousConvMode = DISABLE; in AdcMcuConfig()64 AdcHandle.Init.DiscontinuousConvMode = DISABLE; in AdcMcuConfig()65 AdcHandle.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE; in AdcMcuConfig()66 AdcHandle.Init.ExternalTrigConv = ADC_SOFTWARE_START; in AdcMcuConfig()[all …]
27 ADC_HandleTypeDef AdcHandle; variable31 AdcHandle.Instance = ADC1; in AdcMcuInit()35 HAL_ADC_DeInit( &AdcHandle ); in AdcMcuInit()46 AdcHandle.Init.Resolution = ADC_RESOLUTION_12B; in AdcMcuConfig()47 AdcHandle.Init.DataAlign = ADC_DATAALIGN_RIGHT; in AdcMcuConfig()48 AdcHandle.Init.ContinuousConvMode = DISABLE; in AdcMcuConfig()49 AdcHandle.Init.DiscontinuousConvMode = DISABLE; in AdcMcuConfig()50 AdcHandle.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE; in AdcMcuConfig()51 AdcHandle.Init.ExternalTrigConv = ADC_EXTERNALTRIGCONV_T6_TRGO; in AdcMcuConfig()52 AdcHandle.Init.DMAContinuousRequests = DISABLE; in AdcMcuConfig()[all …]