Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_util_i3c.c56 #define DIV_ROUND_CLOSEST(x, d) (((x) + ((d) / 2U)) / (d)) macro
191 …sclhi3c = DIV_ROUND_CLOSEST(DIV_ROUND_CLOSEST(ti3c_pp_min * pInputTiming->dutyCycle, ti3cclk), 100… in I3C_CtrlTimingComputation()
196 sclhi3c = DIV_ROUND_CLOSEST(ti3ch_min, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
204 scllpp = DIV_ROUND_CLOSEST(ti3c_pp_min, ti3cclk) - (sclhi3c + 1U) - 1U; in I3C_CtrlTimingComputation()
208 …sclhi3c = DIV_ROUND_CLOSEST(DIV_ROUND_CLOSEST(ti3c_pp_min * pInputTiming->dutyCycle, ti3cclk), 100… in I3C_CtrlTimingComputation()
216 …scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk) + (ti3cclk / 2U)), ti3cclk) … in I3C_CtrlTimingComputation()
223 sclhi3c = DIV_ROUND_CLOSEST(ti3ch_od_max, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
240 scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk)), ti3cclk) - 1U; in I3C_CtrlTimingComputation()
263 scllod = DIV_ROUND_CLOSEST(ti3cl_od_min, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
278 scllod = DIV_ROUND_CLOSEST(tcapa, ti3cclk) + 1U; in I3C_CtrlTimingComputation()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_util_i3c.c56 #define DIV_ROUND_CLOSEST(x, d) (((x) + ((d) / 2U)) / (d)) macro
191 …sclhi3c = DIV_ROUND_CLOSEST(DIV_ROUND_CLOSEST(ti3c_pp_min * pInputTiming->dutyCycle, ti3cclk), 100… in I3C_CtrlTimingComputation()
196 sclhi3c = DIV_ROUND_CLOSEST(ti3ch_min, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
204 scllpp = DIV_ROUND_CLOSEST(ti3c_pp_min, ti3cclk) - (sclhi3c + 1U) - 1U; in I3C_CtrlTimingComputation()
208 …sclhi3c = DIV_ROUND_CLOSEST(DIV_ROUND_CLOSEST(ti3c_pp_min * pInputTiming->dutyCycle, ti3cclk), 100… in I3C_CtrlTimingComputation()
216 …scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk) + (ti3cclk / 2U)), ti3cclk) … in I3C_CtrlTimingComputation()
223 sclhi3c = DIV_ROUND_CLOSEST(ti3ch_od_max, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
240 scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk)), ti3cclk) - 1U; in I3C_CtrlTimingComputation()
263 scllod = DIV_ROUND_CLOSEST(ti3cl_od_min, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
278 scllod = DIV_ROUND_CLOSEST(tcapa, ti3cclk) + 1U; in I3C_CtrlTimingComputation()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_util_i3c.c56 #define DIV_ROUND_CLOSEST(x, d) (((x) + ((d) / 2U)) / (d)) macro
191 …sclhi3c = DIV_ROUND_CLOSEST(DIV_ROUND_CLOSEST(ti3c_pp_min * pInputTiming->dutyCycle, ti3cclk), 100… in I3C_CtrlTimingComputation()
196 sclhi3c = DIV_ROUND_CLOSEST(ti3ch_min, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
204 scllpp = DIV_ROUND_CLOSEST(ti3c_pp_min, ti3cclk) - (sclhi3c + 1U) - 1U; in I3C_CtrlTimingComputation()
208 …sclhi3c = DIV_ROUND_CLOSEST(DIV_ROUND_CLOSEST(ti3c_pp_min * pInputTiming->dutyCycle, ti3cclk), 100… in I3C_CtrlTimingComputation()
216 …scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk) + (ti3cclk / 2U)), ti3cclk) … in I3C_CtrlTimingComputation()
223 sclhi3c = DIV_ROUND_CLOSEST(ti3ch_od_max, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
240 scllpp = DIV_ROUND_CLOSEST((ti3c_pp_min - ((sclhi3c + 1U) * ti3cclk)), ti3cclk) - 1U; in I3C_CtrlTimingComputation()
263 scllod = DIV_ROUND_CLOSEST(ti3cl_od_min, ti3cclk) - 1U; in I3C_CtrlTimingComputation()
278 scllod = DIV_ROUND_CLOSEST(tcapa, ti3cclk) + 1U; in I3C_CtrlTimingComputation()
[all …]