Home
last modified time | relevance | path

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

/Zephyr-latest/soc/atmel/sam/sam4l/
Dsoc.c169 uint32_t gen_clk_conf; in clock_init() local
255 gen_clk_conf = SCIF_GCCTRL_RESETVALUE; in clock_init()
256 gen_clk_conf |= SCIF_GCCTRL_OSCSEL(GEN_CLK_SRC_RC32K); in clock_init()
257 gen_clk_conf |= SCIF_GCCTRL_DIVEN; in clock_init()
258 gen_clk_conf |= SCIF_GCCTRL_DIV(((32 + 1) / 2) - 1); in clock_init()
259 SCIF->GCCTRL[GEN_CLK_TC0_GLOC_RC32] = gen_clk_conf | SCIF_GCCTRL_CEN; in clock_init()