pub unsafe extern "C" fn hal_utils_calc_clk_div_integer(
clk_info: *const hal_utils_clk_info_t,
int_div: *mut u32,
) -> u32Expand description
@brief Calculate the clock division without fractal part
@param[in] clk_info The clock infomation
@param[out] int_div The clock integral division
@return
- 0: Failed to get the result because the division is out of range,
but parameter int_div will still be assigned to min/max division that given in clk_info,
incase the caller still want to use the min/max division in this case.
- others: The real output clock frequency