Home
last modified time | relevance | path

Searched refs:adcCounts (Results 1 – 5 of 5) sorted by relevance

/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/
Dcy_sar.c1143 int16_t Cy_SAR_RawCounts2Counts(const SAR_Type *base, uint32_t chan, int16_t adcCounts) in Cy_SAR_RawCounts2Counts() argument
1145 int16_t retVal = adcCounts; in Cy_SAR_RawCounts2Counts()
1237 float32_t Cy_SAR_CountsTo_Volts(const SAR_Type *base, uint32_t chan, int16_t adcCounts) in Cy_SAR_CountsTo_Volts() argument
1247 … result_Volts = (float32_t)Cy_SAR_RawCounts2Counts(base, chan, adcCounts) * CY_SAR_10V_COUNTS; in Cy_SAR_CountsTo_Volts()
1301 int16_t Cy_SAR_CountsTo_mVolts(const SAR_Type *base, uint32_t chan, int16_t adcCounts) in Cy_SAR_CountsTo_mVolts() argument
1311 int16_t locCounts = Cy_SAR_RawCounts2Counts(base, chan, adcCounts); in Cy_SAR_CountsTo_mVolts()
1375 int32_t Cy_SAR_CountsTo_uVolts(const SAR_Type *base, uint32_t chan, int16_t adcCounts) in Cy_SAR_CountsTo_uVolts() argument
1385 … result_uVolts = (int64_t)Cy_SAR_RawCounts2Counts(base, chan, adcCounts) * CY_SAR_10UV_COUNTS; in Cy_SAR_CountsTo_uVolts()
Dcy_adcmic.c410 int32_t Cy_ADCMic_CountsTo_uVolts(int16_t adcCounts, cy_stc_adcmic_context_t const * context) in Cy_ADCMic_CountsTo_uVolts() argument
412 …return ((int32_t)(((int64_t)adcCounts - (int64_t)context->offset) * CY_ADCMIC_UV / (int64_t)contex… in Cy_ADCMic_CountsTo_uVolts()
415 int16_t Cy_ADCMic_CountsTo_mVolts(int16_t adcCounts, cy_stc_adcmic_context_t const * context) in Cy_ADCMic_CountsTo_mVolts() argument
417 …return ((int16_t)(((int32_t)adcCounts - (int32_t)context->offset) * CY_ADCMIC_MV / (int32_t)contex… in Cy_ADCMic_CountsTo_mVolts()
420 float Cy_ADCMic_CountsTo_Volts (int16_t adcCounts, cy_stc_adcmic_context_t const * context) in Cy_ADCMic_CountsTo_Volts() argument
422 return (((float)adcCounts - (float)context->offset) / (float)context->gain); in Cy_ADCMic_CountsTo_Volts()
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/include/
Dcy_adcmic.h1045 int16_t Cy_ADCMic_CountsTo_mVolts(int16_t adcCounts, cy_stc_adcmic_context_t const * context);
1082 int32_t Cy_ADCMic_CountsTo_uVolts(int16_t adcCounts, cy_stc_adcmic_context_t const * context);
1118 float Cy_ADCMic_CountsTo_Volts(int16_t adcCounts, cy_stc_adcmic_context_t const * context);
Dcy_sar.h1599 int16_t Cy_SAR_RawCounts2Counts(const SAR_Type *base, uint32_t chan, int16_t adcCounts);
1600 float32_t Cy_SAR_CountsTo_Volts(const SAR_Type *base, uint32_t chan, int16_t adcCounts);
1601 int16_t Cy_SAR_CountsTo_mVolts(const SAR_Type *base, uint32_t chan, int16_t adcCounts);
1602 int32_t Cy_SAR_CountsTo_uVolts(const SAR_Type *base, uint32_t chan, int16_t adcCounts);
/hal_infineon-3.6.0/mtb-hal-cat1/COMPONENT_CAT1B/include/
Dcyhal_missing_pdl.h334 #define Cy_SAR_CountsTo_uVolts(base, chan, adcCounts) (0) argument