Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/driver/
Drmt.c566 uint32_t rmt_source_clk_hz; in rmt_internal_config() local
582 rmt_source_clk_hz = rtc_clk_xtal_freq_get() * 1000000; in rmt_internal_config()
586 rmt_source_clk_hz = REF_CLK_FREQ; in rmt_internal_config()
591 rmt_source_clk_hz = APB_CLK_FREQ; in rmt_internal_config()
597 s_rmt_source_clock_hz[channel] = rmt_source_clk_hz; in rmt_internal_config()
599 if (s_rmt_source_clock_hz && rmt_source_clk_hz != s_rmt_source_clock_hz) { in rmt_internal_config()
600 …gured to %d by other channel, now reconfigure it to %d", s_rmt_source_clock_hz, rmt_source_clk_hz); in rmt_internal_config()
602 s_rmt_source_clock_hz = rmt_source_clk_hz; in rmt_internal_config()
604 ESP_LOGD(TAG, "rmt_source_clk_hz: %d\n", rmt_source_clk_hz); in rmt_internal_config()
630 duty_div = rmt_source_clk_hz / carrier_freq_hz; in rmt_internal_config()
[all …]