Searched refs:input_hz (Results 1 – 1 of 1) sorted by relevance
/hal_infineon-3.6.0/mtb-hal-cat1/source/ |
D | cyhal_clock.c | 569 static cy_rslt_t _cyhal_clock_compute_div(uint64_t input_hz, uint32_t desired_hz, uint32_t divider_… in _cyhal_clock_compute_div() argument 572 *div = (input_hz + (desired_hz / 2)) / desired_hz; in _cyhal_clock_compute_div() 577 … ? (uint32_t)abs(_cyhal_utils_calculate_tolerance(tolerance->type, desired_hz, input_hz / *div)) in _cyhal_clock_compute_div() 1736 uint32_t input_hz = Cy_SysClk_ClkPathMuxGetFrequency(pll_idx); in _cyhal_clock_set_frequency_pll() local 1739 .inputFreq = input_hz, in _cyhal_clock_set_frequency_pll() 2255 uint32_t input_hz = Cy_SysClk_ClkHfGetFrequency(0); in _cyhal_clock_set_frequency_fast() local 2256 rslt = _cyhal_clock_compute_div((uint64_t)input_hz, hz, 8, tolerance, &div); in _cyhal_clock_set_frequency_fast() 2258 uint32_t input_hz = Cy_SysClk_ClkHfGetFrequency(1); in _cyhal_clock_set_frequency_fast() local 2259 rslt = _cyhal_clock_compute_div(((uint64_t)input_hz) << 5, hz, 13, tolerance, &div); in _cyhal_clock_set_frequency_fast() 2322 uint32_t input_hz = Cy_SysClk_ClkPeriGetFrequency(); in _cyhal_clock_set_frequency_slow() local [all …]
|