Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/hardware_clocks/
Dclocks.c29 static inline bool has_glitchless_mux(clock_handle_t clock) { in has_glitchless_mux() argument
30 return clock == clk_sys || clock == clk_ref; in has_glitchless_mux()
33 void clock_stop(clock_handle_t clock) { in clock_stop() argument
34 clock_hw_t *clock_hw = &clocks_hw->clk[clock]; in clock_stop()
36 configured_freq[clock] = 0; in clock_stop()
40 static void clock_configure_internal(clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t … in clock_configure_internal() argument
41 clock_hw_t *clock_hw = &clocks_hw->clk[clock]; in clock_configure_internal()
52 if (has_glitchless_mux(clock) && src == CLOCKS_CLK_SYS_CTRL_SRC_VALUE_CLKSRC_CLK_SYS_AUX) { in clock_configure_internal()
64 if (configured_freq[clock] > 0) { in clock_configure_internal()
68 uint delay_cyc = configured_freq[clk_sys] / configured_freq[clock] + 1; in clock_configure_internal()
[all …]
/hal_rpi_pico-latest/src/rp2_common/hardware_clocks/include/hardware/
Dclocks.h210 …_FREQ_HZ, PLL_SYS_POSTDIV1 and PLL_SYS_POSTDIV2 must all be specified when using custom clock setup
246 …FREQ_HZ, PLL_USB_POSTDIV1 and PLL_USB_POSTDIV2 must all be specified when using custom clock setup.
276 bool clock_configure(clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_freq, uint32…
288 void clock_configure_undivided(clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_fr…
301 void clock_configure_int_divider(clock_handle_t clock, uint32_t src, uint32_t auxsrc, uint32_t src_…
308 void clock_stop(clock_handle_t clock);
316 uint32_t clock_get_hz(clock_handle_t clock);
331 void clock_set_reported_hz(clock_handle_t clock, uint hz);
418 bool clock_configure_gpin(clock_handle_t clock, uint gpio, uint32_t src_freq, uint32_t freq);
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/
DCMakeLists.txt80 # # PICO_CMAKE_CONFIG: CYW43_DEFAULT_PIN_WL_CLOCK, gpio pin for the spi clock line to the cy…
88 # # PICO_CMAKE_CONFIG: CYW43_PIO_CLOCK_DIV_INT, integer component of pio clock divider used …
92 # # PICO_CMAKE_CONFIG: CYW43_PIO_CLOCK_DIV_FRAC8, fractional component of pio clock divider …
96 # # PICO_CMAKE_CONFIG: CYW43_PIO_CLOCK_DIV_DYNAMIC, flag used to enable dynamic pio clock di…