Home
last modified time | relevance | path

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

/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_quaddec.c110 uint32_t current_freq = _cyhal_utils_get_peripheral_clock_frequency(&(tcpwm->resource)); in _cyhal_quaddec_configure_clock() local
111 if (frequency <= current_freq) in _cyhal_quaddec_configure_clock()
113 uint32_t divider = ((current_freq + frequency - 1) / frequency); in _cyhal_quaddec_configure_clock()
Dcyhal_timer.c307 … uint32_t current_freq = _cyhal_utils_get_peripheral_clock_frequency(&(obj->tcpwm.resource)); in cyhal_timer_set_frequency() local
308 uint32_t divider = ((current_freq + hz - 1) / hz); in cyhal_timer_set_frequency()