Searched refs:prescaler_exp (Results 1 – 1 of 1) sorted by relevance
114 uint32_t prescaler_exp, in wwdg_stm32_get_timeout() argument117 uint32_t divider = WWDG_INTERNAL_DIVIDER * (1 << prescaler_exp); in wwdg_stm32_get_timeout()133 uint32_t *prescaler_exp, in wwdg_stm32_convert_timeout() argument142 *prescaler_exp = 0U; in wwdg_stm32_convert_timeout()145 for (*prescaler_exp = 0; *prescaler_exp <= WWDG_PRESCALER_EXPONENT_MAX; in wwdg_stm32_convert_timeout()146 (*prescaler_exp)++) { in wwdg_stm32_convert_timeout()148 / (1 << *prescaler_exp); in wwdg_stm32_convert_timeout()160 *prescaler_exp = WWDG_PRESCALER_EXPONENT_MAX; in wwdg_stm32_convert_timeout()213 uint32_t prescaler_exp = 0U; in wwdg_stm32_install_timeout() local220 wwdg_stm32_convert_timeout(dev, timeout, &prescaler_exp, &counter); in wwdg_stm32_install_timeout()[all …]