Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_numaker.c50 uint32_t clkdiv_divider; in can_numaker_get_core_clock() local
55 clkdiv_divider = CLK_GetModuleClockDivider(config->clk_modidx) + 1; in can_numaker_get_core_clock()
59 *rate = __HXT / clkdiv_divider; in can_numaker_get_core_clock()
62 *rate = (CLK_GetPLLClockFreq() / 2) / clkdiv_divider; in can_numaker_get_core_clock()
65 *rate = CLK_GetHCLKFreq() / clkdiv_divider; in can_numaker_get_core_clock()
68 *rate = __HIRC / clkdiv_divider; in can_numaker_get_core_clock()
75 LOG_DBG("Clock rate index/divider: %d/%d", clksrc_rate_idx, clkdiv_divider); in can_numaker_get_core_clock()