Searched refs:current_freq (Results 1 – 2 of 2) sorted by relevance
110 uint32_t current_freq = _cyhal_utils_get_peripheral_clock_frequency(&(tcpwm->resource)); in _cyhal_quaddec_configure_clock() local111 if (frequency <= current_freq) in _cyhal_quaddec_configure_clock()113 uint32_t divider = ((current_freq + frequency - 1) / frequency); in _cyhal_quaddec_configure_clock()
307 … uint32_t current_freq = _cyhal_utils_get_peripheral_clock_frequency(&(obj->tcpwm.resource)); in cyhal_timer_set_frequency() local308 uint32_t divider = ((current_freq + hz - 1) / hz); in cyhal_timer_set_frequency()