Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/test/
Dtest_ledc.c79 TEST_ESP_OK(ledc_channel_config(&ledc_ch_config)); in fade_setup()
108 TEST_ESP_OK(ledc_channel_config(&ledc_ch_config)); in timer_duty_test()
183 TEST_ESP_OK(ledc_channel_config(&ledc_ch_config)); in timer_frequency_test()
198 TEST_ASSERT(ledc_channel_config(&ledc_ch_config) == ESP_ERR_INVALID_ARG);
205 TEST_ASSERT(ledc_channel_config(&ledc_ch_config) == ESP_ERR_INVALID_ARG);
212 TEST_ASSERT(ledc_channel_config(&ledc_ch_config) == ESP_ERR_INVALID_ARG);
219 TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, ledc_channel_config(&ledc_ch_config));
226 TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, ledc_channel_config(&ledc_ch_config));
232 TEST_ASSERT_EQUAL(ESP_OK, ledc_channel_config(&ledc_ch_config));
268 TEST_ESP_OK(ledc_channel_config(&ledc_ch_config));
[all …]
Dtest_pcnt.c90 ESP_ERROR_CHECK(ledc_channel_config(&ledc_channel)); in produce_pulse()
196 ledc_channel_config(&ledc_channel); in count_mode_test()
/hal_espressif-3.6.0/examples/mesh/internal_communication/main/
Dmesh_light.c59 ledc_channel_config(&ledc_channel); in mesh_light_init()
62 ledc_channel_config(&ledc_channel); in mesh_light_init()
65 ledc_channel_config(&ledc_channel); in mesh_light_init()
68 ledc_channel_config(&ledc_channel); in mesh_light_init()
/hal_espressif-3.6.0/examples/mesh/manual_networking/main/
Dmesh_light.c62 ledc_channel_config(&ledc_channel); in mesh_light_init()
65 ledc_channel_config(&ledc_channel); in mesh_light_init()
68 ledc_channel_config(&ledc_channel); in mesh_light_init()
71 ledc_channel_config(&ledc_channel); in mesh_light_init()
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/
Dledc.rst69 定时器设置好后,请配置所需的通道(:cpp:type:`ledc_channel_t` 之一)。配置通道需调用函数 :cpp:func:`ledc_channel_config`。
97 另外一种设置占空比和其他通道参数的方式是调用 :ref:`ledc-api-configure-channel` 一节提到的函数 :cpp:func:`ledc_channel_config`。
125 * 通过调用函数 :cpp:func:`ledc_channel_config` 改变通道的定时器。
138 前两个功能可通过函数 :cpp:func:`ledc_channel_config` 在后台运行,在定时器配置后启动。
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/main/
Dledc_basic_example_main.c43 ESP_ERROR_CHECK(ledc_channel_config(&ledc_channel)); in example_ledc_init()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dledc.rst69 … :cpp:type:`ledc_channel_t`). This is done by calling the function :cpp:func:`ledc_channel_config`.
97 …as well as some other channel parameters, is by calling :cpp:func:`ledc_channel_config` covered in…
125 * Change the channel's timer by calling :cpp:func:`ledc_channel_config`.
138 The first two functions are called "behind the scenes" by :cpp:func:`ledc_channel_config` to provid…
/hal_espressif-3.6.0/examples/peripherals/pcnt/pulse_count_event/main/
Dpcnt_event_example_main.c100 ledc_channel_config(&ledc_channel); in ledc_init()
/hal_espressif-3.6.0/components/driver/include/driver/
Dledc.h69 esp_err_t ledc_channel_config(const ledc_channel_config_t* ledc_conf);
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_fade/main/
Dledc_fade_example_main.c178 ledc_channel_config(&ledc_channel[ch]); in app_main()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_led.c458 ret = ledc_channel_config(&ledc_ch_config); in iot_led_regist_channel()
Diot_light.c238 ERR_ASSERT(TAG, ledc_channel_config(&ledc_channel), NULL); in light_channel_create()
/hal_espressif-3.6.0/components/driver/
Dledc.c356 esp_err_t ledc_channel_config(const ledc_channel_config_t* ledc_conf) in ledc_channel_config() function