Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_i2c.c167 uint32_t absError; in I2C_SetHoldTime() local
195absError = sclStopHoldTime_ns > computedSclHoldTime ? (sclStopHoldTime_ns - computedSclHoldTime) : in I2C_SetHoldTime()
198 if (absError < bestError) in I2C_SetHoldTime()
202 bestError = absError; in I2C_SetHoldTime()
205 if (absError == 0u) in I2C_SetHoldTime()
772 uint32_t absError; in I2C_MasterSetBaudRate() local
795absError = baudRate_Bps > computedRate ? (baudRate_Bps - computedRate) : (computedRate - baudR… in I2C_MasterSetBaudRate()
797 if (absError < bestError) in I2C_MasterSetBaudRate()
801 bestError = absError; in I2C_MasterSetBaudRate()
804 if (absError == 0u) in I2C_MasterSetBaudRate()
Dfsl_lpi2c.c538 uint32_t absError = 0U; in LPI2C_MasterSetBaudRate() local
570absError = baudRate_Hz > computedRate ? baudRate_Hz - computedRate : computedRate - baudRate_Hz; in LPI2C_MasterSetBaudRate()
572 if (absError < bestError) in LPI2C_MasterSetBaudRate()
576 bestError = absError; in LPI2C_MasterSetBaudRate()
579 if (absError == 0U) in LPI2C_MasterSetBaudRate()
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_i2c.c592 uint32_t absError; in I2C_MasterSetBaudRate() local
601absError = baudRate_Bps > computedRate ? (baudRate_Bps - computedRate) : (computedRate - baudR… in I2C_MasterSetBaudRate()
603 if (absError < bestError) in I2C_MasterSetBaudRate()
606 bestError = absError; in I2C_MasterSetBaudRate()
609 if (absError == 0U) in I2C_MasterSetBaudRate()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpi2c.c526 uint32_t absError = 0U; in LPI2C_MasterSetBaudRate() local
561absError = baudRate_Hz > computedRate ? baudRate_Hz - computedRate : computedRate - baudRate_Hz; in LPI2C_MasterSetBaudRate()
562 if (absError < bestError) in LPI2C_MasterSetBaudRate()
567 bestError = absError; in LPI2C_MasterSetBaudRate()
570 if (absError == 0U) in LPI2C_MasterSetBaudRate()