Home
last modified time | relevance | path

Searched refs:Ratio (Results 1 – 25 of 60) sorted by relevance

123

/hal_stm32-3.7.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_adc.c697 assert_param(IS_ADC_OVERSAMPLING_RATIO_ADC3(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
701 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
704 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
731 hadc->Init.Oversampling.Ratio | in HAL_ADC_Init()
748 ((hadc->Init.Oversampling.Ratio - 1UL) << ADC_CFGR2_OVSR_Pos) | in HAL_ADC_Init()
762 ((hadc->Init.Oversampling.Ratio - 1UL) << ADC_CFGR2_OVSR_Pos) | in HAL_ADC_Init()
2837 …am(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), sConfig->Offset / (hadc->Init.Oversampling.Ratio + 1U))); in HAL_ADC_ConfigChannel()
3165 …ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->HighThreshold / (hadc->Init.Oversampling.Ratio + 1UL))); in HAL_ADC_AnalogWDGConfig()
3166 …(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->LowThreshold / (hadc->Init.Oversampling.Ratio + 1UL))); in HAL_ADC_AnalogWDGConfig()
3183 …ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->HighThreshold / (hadc->Init.Oversampling.Ratio + 1UL))); in HAL_ADC_AnalogWDGConfig()
[all …]
Dstm32h7xx_hal_adc_ex.c1875 …ADC_GET_RESOLUTION(hadc), sConfigInjected->InjectedOffset / (hadc->Init.Oversampling.Ratio + 1U))); in HAL_ADCEx_InjectedConfigChannel()
2139 assert_param(IS_ADC_OVERSAMPLING_RATIO_ADC3(sConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
2143 assert_param(IS_ADC_OVERSAMPLING_RATIO(sConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
2146 assert_param(IS_ADC_OVERSAMPLING_RATIO(sConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
2166 ((sConfigInjected->InjecOversampling.Ratio - 1UL) << ADC_CFGR2_OVSR_Pos) | in HAL_ADCEx_InjectedConfigChannel()
2177 (sConfigInjected->InjecOversampling.Ratio) | in HAL_ADCEx_InjectedConfigChannel()
2187 ((sConfigInjected->InjecOversampling.Ratio - 1UL) << ADC_CFGR2_OVSR_Pos) | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_adc.c609 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
629 … ((hadc->Init.Oversampling.Ratio - 1UL) << ADC_CFGR2_OSR_Pos) | in HAL_ADC_Init()
2704 …_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), pConfig->Offset/(hadc->Init.Oversampling.Ratio+1U))); in HAL_ADC_ConfigChannel()
2960 …DC_GET_RESOLUTION(hadc), pAnalogWDGConfig->HighThreshold / (hadc->Init.Oversampling.Ratio + 1UL))); in HAL_ADC_AnalogWDGConfig()
2961 …ADC_GET_RESOLUTION(hadc), pAnalogWDGConfig->LowThreshold / (hadc->Init.Oversampling.Ratio + 1UL))); in HAL_ADC_AnalogWDGConfig()
Dstm32mp1xx_hal_adc_ex.c1759 …NGE(ADC_GET_RESOLUTION(hadc), pConfigInjected->InjectedOffset/(hadc->Init.Oversampling.Ratio+1U))); in HAL_ADCEx_InjectedConfigChannel()
1996 assert_param(IS_ADC_OVERSAMPLING_RATIO(pConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
2012 ((pConfigInjected->InjecOversampling.Ratio - 1UL) << ADC_CFGR2_OSR_Pos) | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_adc.c766 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
787 (hadc->Init.Oversampling.Ratio << ADC_CFGR2_OVSR_Pos) | in HAL_ADC_Init()
829 assert_param(IS_ADC4_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
839 tmpCFGR2 |= (hadc->Init.Oversampling.Ratio | in HAL_ADC_Init()
3849 … pAnalogWDGConfig->HighThreshold / (hadc->Init.Oversampling.Ratio + 1UL))); in HAL_ADC_AnalogWDGConfig()
3851 … pAnalogWDGConfig->LowThreshold / (hadc->Init.Oversampling.Ratio + 1UL))); in HAL_ADC_AnalogWDGConfig()
Dstm32u5xx_hal_adc_ex.c2025 … pConfigInjected->InjectedOffset / (hadc->Init.Oversampling.Ratio + 1U))); in HAL_ADCEx_InjectedConfigChannel()
2258 assert_param(IS_ADC_OVERSAMPLING_RATIO(pConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
2272 … ADC_CFGR2_JOVSE | (pConfigInjected->InjecOversampling.Ratio << ADC_CFGR2_OVSR_Pos) | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_adc_ex.c1499 assert_param(IS_ADC_OVERSAMPLING_RATIO(sConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
1515 sConfigInjected->InjecOversampling.Ratio | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_adc.c579 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversample.Ratio)); in HAL_ADC_Init()
592 hadc->Instance->CFGR2 |= (hadc->Init.Oversample.Ratio | in HAL_ADC_Init()
/hal_stm32-3.7.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_adc_ex.c1910 assert_param(IS_ADC_OVERSAMPLING_RATIO(pConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
1927 pConfigInjected->InjecOversampling.Ratio | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_adc_ex.c1919 assert_param(IS_ADC_OVERSAMPLING_RATIO(pConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
1936 pConfigInjected->InjecOversampling.Ratio | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_adc_ex.c1910 assert_param(IS_ADC_OVERSAMPLING_RATIO(pConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
1927 pConfigInjected->InjecOversampling.Ratio | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_ll_adc.h6410 __STATIC_INLINE void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_… in LL_ADC_ConfigOverSamplingRatioShift() argument
6415 MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC3_CFGR2_OVSR), (Shift | Ratio)); in LL_ADC_ConfigOverSamplingRatioShift()
6419 …MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | (((Ratio - 1UL) << ADC_CFGR2_O… in LL_ADC_ConfigOverSamplingRatioShift()
6423 …MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | (((Ratio - 1UL) << ADC_CFGR2_O… in LL_ADC_ConfigOverSamplingRatioShift()
/hal_stm32-3.7.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_adc_ex.c1981 assert_param(IS_ADC_OVERSAMPLING_RATIO(pConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
1998 pConfigInjected->InjecOversampling.Ratio | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_adc_ex.c1975 assert_param(IS_ADC_OVERSAMPLING_RATIO(pConfigInjected->InjecOversampling.Ratio)); in HAL_ADCEx_InjectedConfigChannel()
1992 pConfigInjected->InjecOversampling.Ratio | in HAL_ADCEx_InjectedConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_ll_adc.h3231 __STATIC_INLINE void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_… in LL_ADC_ConfigOverSamplingRatioShift() argument
3233 MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | Ratio)); in LL_ADC_ConfigOverSamplingRatioShift()
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_adc.c412 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
609 hadc->Init.Oversampling.Ratio | in HAL_ADC_Init()
/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_adc.c412 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
610 hadc->Init.Oversampling.Ratio | in HAL_ADC_Init()
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_ll_adc.h4054 __STATIC_INLINE void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_… in LL_ADC_ConfigOverSamplingRatioShift() argument
4056 MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | Ratio)); in LL_ADC_ConfigOverSamplingRatioShift()
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_adc.h4144 __STATIC_INLINE void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_… in LL_ADC_ConfigOverSamplingRatioShift() argument
4146 MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | Ratio)); in LL_ADC_ConfigOverSamplingRatioShift()
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_adc.c413 assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio)); in HAL_ADC_Init()
558 hadc->Init.Oversampling.Ratio | in HAL_ADC_Init()
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_hal_adc_ex.h51 uint32_t Ratio; /*!< Configures the oversampling ratio.
/hal_stm32-3.7.0/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_adc.h4143 __STATIC_INLINE void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_… in LL_ADC_ConfigOverSamplingRatioShift() argument
4145 MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | Ratio)); in LL_ADC_ConfigOverSamplingRatioShift()
/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_adc.h4470 __STATIC_INLINE void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_… in LL_ADC_ConfigOverSamplingRatioShift() argument
4472 MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | Ratio)); in LL_ADC_ConfigOverSamplingRatioShift()
/hal_stm32-3.7.0/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_hal_adc_ex.h48 uint32_t Ratio; /*!< Configures the oversampling ratio. member
/hal_stm32-3.7.0/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_adc_ex.h48 uint32_t Ratio; /*!< Configures the oversampling ratio. member

123