Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/hal/
Drmt_hal.c45 …nnel_clock(rmt_hal_context_t *hal, uint32_t channel, uint32_t base_clk_hz, uint32_t counter_clk_hz) in rmt_hal_tx_set_channel_clock() argument
48 uint32_t counter_div = (base_clk_hz + counter_clk_hz / 2) / counter_clk_hz; in rmt_hal_tx_set_channel_clock()
/hal_espressif-3.6.0/examples/peripherals/rmt/musical_buzzer/components/musical_buzzer/src/
Dmusical_buzzer_rmt.c37 uint32_t counter_clk_hz; member
49 notation_code.duration0 = rmt_buzzer->counter_clk_hz / notation->note_freq_hz / 2; in update_notation_freq_duration()
118 rmt_get_counter_clock(rmt_buzzer->channel, &rmt_buzzer->counter_clk_hz); in musical_buzzer_create_rmt()
/hal_espressif-3.6.0/examples/peripherals/rmt/ir_protocols/components/infrared_tools/src/
Dir_parser_rmt_rc5.c153 uint32_t counter_clk_hz = 0; in ir_parser_rmt_new_rc5() local
154 RC5_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev_hdl, &counter_clk_hz) == ESP_OK, in ir_parser_rmt_new_rc5()
156 float ratio = (float)counter_clk_hz / 1e6; in ir_parser_rmt_new_rc5()
Dir_builder_rmt_rc5.c173 uint32_t counter_clk_hz = 0; in ir_builder_rmt_new_rc5() local
174 RC5_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev_hdl, &counter_clk_hz) == ESP_OK, in ir_builder_rmt_new_rc5()
176 float ratio = (float)counter_clk_hz / 1e6; in ir_builder_rmt_new_rc5()
Dir_parser_rmt_nec.c199 uint32_t counter_clk_hz = 0; in ir_parser_rmt_new_nec() local
200 NEC_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev_hdl, &counter_clk_hz) == ESP_OK, in ir_parser_rmt_new_nec()
202 float ratio = (float)counter_clk_hz / 1e6; in ir_parser_rmt_new_nec()
Dir_builder_rmt_nec.c180 uint32_t counter_clk_hz = 0; in ir_builder_rmt_new_nec() local
181 NEC_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev_hdl, &counter_clk_hz) == ESP_OK, in ir_builder_rmt_new_nec()
183 float ratio = (float)counter_clk_hz / 1e6; in ir_builder_rmt_new_nec()
/hal_espressif-3.6.0/examples/common_components/led_strip/
Dled_strip_rmt_ws2812.c149 uint32_t counter_clk_hz = 0; in led_strip_new_rmt_ws2812() local
150 STRIP_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev, &counter_clk_hz) == ESP_OK, in led_strip_new_rmt_ws2812()
153 float ratio = (float)counter_clk_hz / 1e9; in led_strip_new_rmt_ws2812()
/hal_espressif-3.6.0/components/hal/include/hal/
Drmt_hal.h67 …nel_clock(rmt_hal_context_t *hal, uint32_t channel, uint32_t base_clk_hz, uint32_t counter_clk_hz);