Home
last modified time | relevance | path

Searched refs:CY_ADCMIC_DC_FS_CNT (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/include/
Dcy_adcmic.h409 #define CY_ADCMIC_DC_FS_CNT ((uint32_t)(CY_ADCMIC_DC_HI_CNT - CY_ADCMIC_DC_OFFSET) * 10U) macro
411 #define CY_ADCMIC_DC_3_6_GAIN ((int16_t)CY_SYSLIB_DIV_ROUND(CY_ADCMIC_DC_FS_CNT, 36U))
413 #define CY_ADCMIC_DC_1_8_GAIN ((int16_t)CY_SYSLIB_DIV_ROUND(CY_ADCMIC_DC_FS_CNT, 18U))
/hal_infineon-3.6.0/mtb-hal-cat1/source/
Dcyhal_adc_mic.c159 uint16_t scaled_cnt = (uint16_t)(raw_cnt_fixed * CY_ADCMIC_DC_FS / (CY_ADCMIC_DC_FS_CNT / 10U)); in _cyhal_adc_cnt_to_u16()