Home
last modified time | relevance | path

Searched refs:Gain (Results 1 – 11 of 11) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_mdf.c1367 HAL_StatusTypeDef HAL_MDF_SetGain(MDF_HandleTypeDef *hmdf, int32_t Gain) in HAL_MDF_SetGain() argument
1372 assert_param(IS_MDF_GAIN(Gain)); in HAL_MDF_SetGain()
1384 if (Gain < 0) in HAL_MDF_SetGain()
1389 adjust_gain = Gain - 16; in HAL_MDF_SetGain()
1395 register_gain_value = (uint32_t) Gain; in HAL_MDF_SetGain()
2046 assert_param(IS_MDF_GAIN(pFilterConfig->Gain)); in MDF_AcqStart()
2047 if (pFilterConfig->Gain < 0) in MDF_AcqStart()
2052 adjust_gain = pFilterConfig->Gain - 16; in MDF_AcqStart()
2058 register_gain_value = (uint32_t) pFilterConfig->Gain; in MDF_AcqStart()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_ll_adc.h1950 __STATIC_INLINE void LL_ADC_ConfigureMicrophonePGA(ADC_TypeDef *ADCx, uint32_t Bias, uint32_t Gain) in LL_ADC_ConfigureMicrophonePGA() argument
1952 MODIFY_REG(ADCx->PGA_CONF, (ADC_PGA_CONF_PGA_BIAS | ADC_PGA_CONF_PGA_GAIN), (Bias | Gain)); in LL_ADC_ConfigureMicrophonePGA()
2013 __STATIC_INLINE void LL_ADC_SetMicrophonePGAGain(ADC_TypeDef *ADCx, uint32_t Gain) in LL_ADC_SetMicrophonePGAGain() argument
2015 MODIFY_REG(ADCx->PGA_CONF, ADC_PGA_CONF_PGA_GAIN, Gain); in LL_ADC_SetMicrophonePGAGain()
2746 __STATIC_INLINE void LL_ADC_ConfigureCalibPoint(ADC_TypeDef *ADCx, uint32_t Point, uint32_t Gain, u… in LL_ADC_ConfigureCalibPoint() argument
2751 … ((Gain & ADC_COMP_1_GAIN1) | ((Offset << ADC_COMP_1_OFFSET1_Pos) & ADC_COMP_1_OFFSET1))); in LL_ADC_ConfigureCalibPoint()
2766 __STATIC_INLINE void LL_ADC_SetCalibPointGain(ADC_TypeDef *ADCx, uint32_t Point, uint32_t Gain) in LL_ADC_SetCalibPointGain() argument
2770 MODIFY_REG(*preg, ADC_COMP_1_GAIN1, Gain); in LL_ADC_SetCalibPointGain()
Dstm32wb0x_hal_adc.h82 …uint32_t Gain; /*!< Specify the ADC gain compensation coefficient to be appli… member
175 …uint32_t Gain; /*!< Specify the gain for the Programmable Gain Amplifier (PGA… member
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_mdf.c1800 HAL_StatusTypeDef HAL_MDF_SetGain(MDF_HandleTypeDef *hmdf, int32_t Gain) in HAL_MDF_SetGain() argument
1805 assert_param(IS_MDF_GAIN(Gain)); in HAL_MDF_SetGain()
1817 if (Gain < 0) in HAL_MDF_SetGain()
1822 adjust_gain = Gain - 16; in HAL_MDF_SetGain()
1828 register_gain_value = (uint32_t) Gain; in HAL_MDF_SetGain()
3363 assert_param(IS_MDF_GAIN(pFilterConfig->Gain)); in MDF_AcqStart()
3364 if (pFilterConfig->Gain < 0) in MDF_AcqStart()
3369 adjust_gain = pFilterConfig->Gain - 16; in MDF_AcqStart()
3375 register_gain_value = (uint32_t) pFilterConfig->Gain; in MDF_AcqStart()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_mdf.c1804 HAL_StatusTypeDef HAL_MDF_SetGain(MDF_HandleTypeDef *hmdf, int32_t Gain) in HAL_MDF_SetGain() argument
1809 assert_param(IS_MDF_GAIN(Gain)); in HAL_MDF_SetGain()
1821 if (Gain < 0) in HAL_MDF_SetGain()
1826 adjust_gain = Gain - 16; in HAL_MDF_SetGain()
1832 register_gain_value = (uint32_t) Gain; in HAL_MDF_SetGain()
3374 assert_param(IS_MDF_GAIN(pFilterConfig->Gain)); in MDF_AcqStart()
3375 if (pFilterConfig->Gain < 0) in MDF_AcqStart()
3380 adjust_gain = pFilterConfig->Gain - 16; in MDF_AcqStart()
3386 register_gain_value = (uint32_t) pFilterConfig->Gain; in MDF_AcqStart()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_hal_adc.c1926 assert_param(IS_ADC_PGA_GAIN(ConfigPGA->Gain)); in HAL_ADC_PGAConfig()
1931 LL_ADC_ConfigureMicrophonePGA(hadc->Instance, ConfigPGA->Bias, ConfigPGA->Gain); in HAL_ADC_PGAConfig()
2206 assert_param(IS_ADC_CALIBRATION_GAIN(sConfigChannel->CalibrationPoint.Gain)); in HAL_ADC_ConfigChannel()
2229 if (sConfigChannel->CalibrationPoint.Gain != 0UL) in HAL_ADC_ConfigChannel()
2231 tmp_gain = sConfigChannel->CalibrationPoint.Gain; in HAL_ADC_ConfigChannel()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_hal_mdf.h244 …int32_t Gain; /*!< Filter gain in step of around 3db (from -48db to 7… member
608 HAL_StatusTypeDef HAL_MDF_SetGain(MDF_HandleTypeDef *hmdf, int32_t Gain);
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_hal_mdf.h277 …int32_t Gain; /*!< Filter gain in step of around 3db (from -48db to 7… member
860 HAL_StatusTypeDef HAL_MDF_SetGain(MDF_HandleTypeDef *hmdf, int32_t Gain);
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_hal_mdf.h275 …int32_t Gain; /*!< Filter gain in step of around 3db (from -48db to 7… member
854 HAL_StatusTypeDef HAL_MDF_SetGain(MDF_HandleTypeDef *hmdf, int32_t Gain);
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_hal_sdadc.h115 uint32_t Gain; /*!< Specifies the gain setting. member
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_sdadc.c750 assert_param(IS_SDADC_GAIN(ConfParamStruct->Gain)); in HAL_SDADC_PrepareChannelConfig()
775 ConfParamStruct->Gain | \ in HAL_SDADC_PrepareChannelConfig()