Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_renesas_ra_iic.c406 uint32_t temp_brh = total_brl_brh * requested_duty / 100; in calc_iic_master_clock_setting() local
408 if (temp_brh < min_brh) { in calc_iic_master_clock_setting()
409 temp_brh = min_brh; in calc_iic_master_clock_setting()
415 calc_iic_master_bitrate(config, total_brl_brh, temp_brh, temp_divider, in calc_iic_master_clock_setting()
422 temp_brh -= 1; in calc_iic_master_clock_setting()
424 if ((temp_brh < min_brh) || ((total_brl_brh - temp_brh) > 31)) { in calc_iic_master_clock_setting()
430 calc_iic_master_bitrate(config, total_brl_brh, temp_brh, temp_divider, in calc_iic_master_clock_setting()
442 ++temp_brh; in calc_iic_master_clock_setting()
444 if ((temp_brh > total_brl_brh) || (temp_brh > 31) || in calc_iic_master_clock_setting()
445 ((total_brl_brh - temp_brh) < min_brh)) { in calc_iic_master_clock_setting()
[all …]