Home
last modified time | relevance | path

Searched refs:fracBits (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/isi/
Dfsl_isi.c56 static uint32_t ISI_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits);
139 static uint32_t ISI_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits) in ISI_ConvertFloat() argument
142 assert(intBits + fracBits < 32U); in ISI_ConvertFloat()
154 expValue += (int32_t)fracBits; in ISI_ConvertFloat()
174 ret = ((~ret) + 1U) & ~(((uint32_t)-1) << (intBits + fracBits + 1U)); in ISI_ConvertFloat()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/easrc/
Dfsl_asrc.c299 uint32_t fracBits = 0U; in ASRC_SetSampleRateRatioConfig() local
307 fracBits = 39U; in ASRC_SetSampleRateRatioConfig()
311 fracBits = 38U; in ASRC_SetSampleRateRatioConfig()
315 fracBits = 37U; in ASRC_SetSampleRateRatioConfig()
318 ratio = ((uint64_t)inRate << fracBits) / outRate; in ASRC_SetSampleRateRatioConfig()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/pxp/
Dfsl_pxp.c122 static uint32_t PXP_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits);
194 static uint32_t PXP_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits) in PXP_ConvertFloat() argument
197 assert(intBits + fracBits < 32U); in PXP_ConvertFloat()
207 expValue += (int32_t)fracBits; in PXP_ConvertFloat()
227 ret = ((~ret) + 1UL) & ~(((uint32_t)-1) << ((uint32_t)intBits + (uint32_t)fracBits + 1UL)); in PXP_ConvertFloat()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/dpu/
Dfsl_dpu.c989 static uint32_t DPU_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits);
1106 static uint32_t DPU_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits) in DPU_ConvertFloat() argument
1109 assert(intBits + fracBits < 32U); in DPU_ConvertFloat()
1121 expValue += (int32_t)fracBits; in DPU_ConvertFloat()
1141 ret = ((~ret) + 1U) & ~(((uint32_t)-1) << (intBits + fracBits + 1U)); in DPU_ConvertFloat()