Home
last modified time | relevance | path

Searched refs:gain_value (Results 1 – 3 of 3) sorted by relevance

/hal_infineon-3.5.0/mtb-hal-cat1/source/
Dcyhal_pdmpcm.c655 static inline bool _cyhal_pdm_pcm_invalid_gain_range(int16_t gain_value) in _cyhal_pdm_pcm_invalid_gain_range() argument
657 return gain_value < CYHAL_PDM_PCM_MIN_GAIN || gain_value > CYHAL_PDM_PCM_MAX_GAIN; in _cyhal_pdm_pcm_invalid_gain_range()
660 static inline cy_en_pdm_pcm_gain_t _cyhal_pdm_pcm_scale_gain_value(int8_t gain_value) in _cyhal_pdm_pcm_scale_gain_value() argument
665 return (cy_en_pdm_pcm_gain_t) ((gain_value + 25) / 3); in _cyhal_pdm_pcm_scale_gain_value()
/hal_infineon-3.5.0/XMCLib/drivers/src/
Dxmc_vadc.c886 uint8_t gain_value, in XMC_VADC_GLOBAL_SHS_SetGainFactor() argument
900 shs_ptr->GNCTR00 |= ((uint32_t)gain_value << ch_mask); in XMC_VADC_GLOBAL_SHS_SetGainFactor()
905 shs_ptr->GNCTR10 |= ((uint32_t)gain_value << ch_mask); in XMC_VADC_GLOBAL_SHS_SetGainFactor()
/hal_infineon-3.5.0/XMCLib/drivers/inc/
Dxmc_vadc.h2099 uint8_t gain_value,