Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/hardware_pll/
Dpll.c13 void pll_init(PLL pll, uint refdiv, uint vco_freq, uint post_div1, uint post_div2) { in pll_init() argument
42 if ((pll->cs & PLL_CS_LOCK_BITS) && in pll_init()
43 (refdiv == (pll->cs & PLL_CS_REFDIV_BITS)) && in pll_init()
44 (fbdiv == (pll->fbdiv_int & PLL_FBDIV_INT_BITS)) && in pll_init()
45 (pdiv == (pll->prim & (PLL_PRIM_POSTDIV1_BITS | PLL_PRIM_POSTDIV2_BITS)))) { in pll_init()
50 reset_unreset_block_num_wait_blocking(PLL_RESET_NUM(pll)); in pll_init()
53 pll->cs = refdiv; in pll_init()
54 pll->fbdiv_int = fbdiv; in pll_init()
60 hw_clear_bits(&pll->pwr, power); in pll_init()
63 while (!(pll->cs & PLL_CS_LOCK_BITS)) tight_loop_contents(); in pll_init()
[all …]
DBUILD.bazel7 srcs = ["pll.c"],
8 hdrs = ["include/hardware/pll.h"],
DCMakeLists.txt1 pico_simple_hardware_target(pll)
/hal_rpi_pico-latest/src/rp2_common/hardware_pll/include/hardware/
Dpll.h62 void pll_init(PLL pll, uint ref_div, uint vco_freq, uint post_div1, uint post_div2);
72 void pll_deinit(PLL pll);
83 #define PLL_RESET_NUM(pll) ((pll_usb_hw == (pll)) ? RESET_PLL_USB : RESET_PLL_SYS) argument
/hal_rpi_pico-latest/
DChangeLog.zephyr.md27 - src/rp2_common/hardware_pll/include/hardware/pll.h
/hal_rpi_pico-latest/src/rp2040/hardware_regs/
DBUILD.bazel37 "include/hardware/regs/pll.h",
/hal_rpi_pico-latest/src/rp2040/hardware_structs/
DBUILD.bazel33 "include/hardware/structs/pll.h",
/hal_rpi_pico-latest/src/rp2350/hardware_structs/
DBUILD.bazel41 "include/hardware/structs/pll.h",
/hal_rpi_pico-latest/src/rp2350/hardware_regs/
DBUILD.bazel65 "include/hardware/regs/pll.h",