Searched refs:xtal_ref_div (Results 1 – 1 of 1) sorted by relevance
264 uint32_t xtal_ref_div = 0, ref_base_div = 0; in set_speed() local272 XTAL_REF_DIV, &xtal_ref_div); in set_speed()274 if (xtal_ref_div == 0) in set_speed()275 xtal_ref_div = 2; in set_speed()282 prescale = (i2c_ref_clock / xtal_ref_div) / speed; in set_speed()