Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/hal/
Dledc_hal.c53 ledc_slow_clk_sel_t slow_clk_sel = LEDC_SLOW_CLK_APB; in ledc_hal_set_slow_clk() local
55 slow_clk_sel = (clk_cfg == LEDC_USE_RTC8M_CLK) ? LEDC_SLOW_CLK_RTC8M : in ledc_hal_set_slow_clk()
58 slow_clk_sel = (clk_cfg == LEDC_USE_RTC8M_CLK) ? LEDC_SLOW_CLK_RTC8M : LEDC_SLOW_CLK_APB; in ledc_hal_set_slow_clk()
60 ledc_hal_set_slow_clk_sel(hal, slow_clk_sel); in ledc_hal_set_slow_clk()
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Dledc_ll.h38 static inline void ledc_ll_set_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t slow_clk_sel) in ledc_ll_set_slow_clk_sel() argument
41 if (slow_clk_sel == LEDC_SLOW_CLK_APB) { in ledc_ll_set_slow_clk_sel()
43 } else if (slow_clk_sel == LEDC_SLOW_CLK_RTC8M) { in ledc_ll_set_slow_clk_sel()
45 } else if (slow_clk_sel == LEDC_SLOW_CLK_XTAL) { in ledc_ll_set_slow_clk_sel()
59 static inline void ledc_ll_get_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t *slow_clk_sel) in ledc_ll_get_slow_clk_sel() argument
63 *slow_clk_sel = LEDC_SLOW_CLK_APB; in ledc_ll_get_slow_clk_sel()
65 *slow_clk_sel = LEDC_SLOW_CLK_RTC8M; in ledc_ll_get_slow_clk_sel()
67 *slow_clk_sel = LEDC_SLOW_CLK_XTAL; in ledc_ll_get_slow_clk_sel()
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Dledc_ll.h38 static inline void ledc_ll_set_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t slow_clk_sel) in ledc_ll_set_slow_clk_sel() argument
41 if (slow_clk_sel == LEDC_SLOW_CLK_APB) { in ledc_ll_set_slow_clk_sel()
43 } else if (slow_clk_sel == LEDC_SLOW_CLK_RTC8M) { in ledc_ll_set_slow_clk_sel()
45 } else if (slow_clk_sel == LEDC_SLOW_CLK_XTAL) { in ledc_ll_set_slow_clk_sel()
59 static inline void ledc_ll_get_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t *slow_clk_sel) in ledc_ll_get_slow_clk_sel() argument
63 *slow_clk_sel = LEDC_SLOW_CLK_APB; in ledc_ll_get_slow_clk_sel()
65 *slow_clk_sel = LEDC_SLOW_CLK_RTC8M; in ledc_ll_get_slow_clk_sel()
67 *slow_clk_sel = LEDC_SLOW_CLK_XTAL; in ledc_ll_get_slow_clk_sel()
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Dledc_ll.h38 static inline void ledc_ll_set_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t slow_clk_sel){ in ledc_ll_set_slow_clk_sel() argument
40 if (slow_clk_sel == LEDC_SLOW_CLK_APB) { in ledc_ll_set_slow_clk_sel()
42 } else if (slow_clk_sel == LEDC_SLOW_CLK_RTC8M) { in ledc_ll_set_slow_clk_sel()
44 } else if (slow_clk_sel == LEDC_SLOW_CLK_XTAL) { in ledc_ll_set_slow_clk_sel()
58 static inline void ledc_ll_get_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t *slow_clk_sel){ in ledc_ll_get_slow_clk_sel() argument
61 *slow_clk_sel = LEDC_SLOW_CLK_APB; in ledc_ll_get_slow_clk_sel()
63 *slow_clk_sel = LEDC_SLOW_CLK_RTC8M; in ledc_ll_get_slow_clk_sel()
65 *slow_clk_sel = LEDC_SLOW_CLK_XTAL; in ledc_ll_get_slow_clk_sel()
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Dledc_ll.h38 static inline void ledc_ll_set_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t slow_clk_sel) in ledc_ll_set_slow_clk_sel() argument
41 if (slow_clk_sel == LEDC_SLOW_CLK_APB) { in ledc_ll_set_slow_clk_sel()
43 } else if (slow_clk_sel == LEDC_SLOW_CLK_RTC8M) { in ledc_ll_set_slow_clk_sel()
45 } else if (slow_clk_sel == LEDC_SLOW_CLK_XTAL) { in ledc_ll_set_slow_clk_sel()
59 static inline void ledc_ll_get_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t *slow_clk_sel) in ledc_ll_get_slow_clk_sel() argument
63 *slow_clk_sel = LEDC_SLOW_CLK_APB; in ledc_ll_get_slow_clk_sel()
65 *slow_clk_sel = LEDC_SLOW_CLK_RTC8M; in ledc_ll_get_slow_clk_sel()
67 *slow_clk_sel = LEDC_SLOW_CLK_XTAL; in ledc_ll_get_slow_clk_sel()
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dledc_ll.h42 static inline void ledc_ll_set_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t slow_clk_sel){ in ledc_ll_set_slow_clk_sel() argument
43 hw->conf.slow_clk_sel = slow_clk_sel; in ledc_ll_set_slow_clk_sel()
54 static inline void ledc_ll_get_slow_clk_sel(ledc_dev_t *hw, ledc_slow_clk_sel_t *slow_clk_sel){ in ledc_ll_get_slow_clk_sel() argument
55 *slow_clk_sel = hw->conf.slow_clk_sel; in ledc_ll_get_slow_clk_sel()
/hal_espressif-3.6.0/components/hal/include/hal/
Dledc_hal.h45 #define ledc_hal_set_slow_clk_sel(hal, slow_clk_sel) ledc_ll_set_slow_clk_sel((hal)->dev, slow_clk… argument
55 #define ledc_hal_get_slow_clk_sel(hal, slow_clk_sel) ledc_ll_get_slow_clk_sel((hal)->dev, slow_clk… argument
/hal_espressif-3.6.0/components/soc/esp32/include/soc/
Dledc_struct.h219 …uint32_t slow_clk_sel: 1; /*This bit is used to set the frequency of slow_clk. 1'… member