Searched refs:desired_divided_freq (Results 1 – 1 of 1) sorted by relevance
1154 uint32_t desired_divided_freq = sclk_target * 8; // I2S hw has a hard-wired 8x divider in _cyhal_audioss_compute_sclk_div() local1156 uint32_t desired_divided_freq = sclk_target; in _cyhal_audioss_compute_sclk_div()1159 …uint32_t best_divider = (actual_source_freq + (desired_divided_freq / 2)) / desired_divided_freq; … in _cyhal_audioss_compute_sclk_div()1161 uint32_t desired_source_freq = desired_divided_freq * best_divider; in _cyhal_audioss_compute_sclk_div()