Searched refs:f_prescaled (Results 1 – 1 of 1) sorted by relevance
112 uint32_t f_prescaled = (per_clk / speed / 2); in i2c_clk_set() local117 while ((f_prescaled > F_PRESCALED_MAX) && (cwgr_exp <= CKDIV_MAX)) { in i2c_clk_set()121 f_prescaled /= 2; in i2c_clk_set()129 cwgr_reg_val = TWIM_HSCWGR_LOW(f_prescaled / 2) | in i2c_clk_set()130 TWIM_HSCWGR_HIGH(f_prescaled - in i2c_clk_set()131 (f_prescaled / 2)) | in i2c_clk_set()134 TWIM_HSCWGR_STASTO(f_prescaled); in i2c_clk_set()146 "cwgr_reg_val: 0x%08x", per_clk, f_prescaled, in i2c_clk_set()