Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/mesh/internal_communication/main/
Dmesh_light.c80 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set()
81 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1, 0); in mesh_light_set()
82 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_2, 0); in mesh_light_set()
86 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set()
87 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1, 3000); in mesh_light_set()
88 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_2, 0); in mesh_light_set()
92 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set()
93 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1, 0); in mesh_light_set()
94 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_2, 3000); in mesh_light_set()
98 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set()
[all …]
/hal_espressif-3.6.0/examples/mesh/manual_networking/main/
Dmesh_light.c83 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set()
84 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1, 0); in mesh_light_set()
85 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_2, 0); in mesh_light_set()
89 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set()
90 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1, 3000); in mesh_light_set()
91 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_2, 0); in mesh_light_set()
95 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set()
96 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_1, 0); in mesh_light_set()
97 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_2, 3000); in mesh_light_set()
101 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set()
[all …]
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_fade/main/
Dledc_fade_example_main.c219 ledc_set_duty(ledc_channel[ch].speed_mode, ledc_channel[ch].channel, LEDC_TEST_DUTY); in app_main()
226 ledc_set_duty(ledc_channel[ch].speed_mode, ledc_channel[ch].channel, 0); in app_main()
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/main/
Dledc_basic_example_main.c51 ESP_ERROR_CHECK(ledc_set_duty(LEDC_MODE, LEDC_CHANNEL, LEDC_DUTY)); in app_main()
/hal_espressif-3.6.0/components/driver/test/
Dtest_ledc.c89 TEST_ESP_OK(ledc_set_duty(speed_mode, channel, duty)); in timer_duty_set_get()
399 TEST_ESP_OK(ledc_set_duty(test_speed_mode, LEDC_CHANNEL_0, 500));
433 TEST_ESP_OK(ledc_set_duty(test_speed_mode, LEDC_CHANNEL_0, 500));
/hal_espressif-3.6.0/components/driver/include/driver/
Dledc.h203 esp_err_t ledc_set_duty(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t duty);
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/
DREADME.md38 ledc_set_duty(LEDC_MODE, LEDC_CHANNEL, 8191);
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/
Dledc.rst95 调用函数 :cpp:func:`ledc_set_duty` 可以设置新的占空比。之后,调用函数 :cpp:func:`ledc_update_duty` 使新配置生效。要查看当前设置的占空比,可使…
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dledc.rst95 To set the duty cycle, use the dedicated function :cpp:func:`ledc_set_duty`. After that, call :cpp:…
/hal_espressif-3.6.0/components/driver/
Dledc.c477 esp_err_t ledc_set_duty(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t duty) in ledc_set_duty() function