Searched refs:xtal_ref_div (Results 1 – 1 of 1) sorted by relevance
267 uint32_t xtal_ref_div = 0, ref_base_div = 0; in set_speed() local275 XTAL_REF_DIV, &xtal_ref_div); in set_speed()277 if (xtal_ref_div == 0) in set_speed()278 xtal_ref_div = 2; in set_speed()285 prescale = (i2c_ref_clock / xtal_ref_div) / speed; in set_speed()