Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/test/
Dtest_ledc.c92 TEST_ASSERT_EQUAL_INT32(duty, ledc_get_duty(speed_mode, channel)); in timer_duty_set_get()
341 TEST_ASSERT_EQUAL_INT32(4000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
346 TEST_ASSERT_INT32_WITHIN(20, 4000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
348 TEST_ASSERT_EQUAL_INT32(0, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
361 TEST_ASSERT_EQUAL_INT32(4000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
366 TEST_ASSERT_INT32_WITHIN(20, 4000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
368 TEST_ASSERT_EQUAL_INT32(0, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
387 TEST_ASSERT_EQUAL_INT32(4000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
390 TEST_ASSERT_EQUAL_INT32(1000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
398 TEST_ASSERT_EQUAL_INT32(4000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0));
[all …]
/hal_espressif-3.6.0/components/driver/include/driver/
Dledc.h218 uint32_t ledc_get_duty(ledc_mode_t speed_mode, ledc_channel_t channel);
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/
Dledc.rst95 …之后,调用函数 :cpp:func:`ledc_update_duty` 使新配置生效。要查看当前设置的占空比,可使用 ``_get_`` 函数 :cpp:func:`ledc_get_duty`。
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_light.c399 return ledc_get_duty(l_chn->mode, l_chn->channel); in iot_light_duty_get()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dledc.rst95 … check the currently set value, use the corresponding ``_get_`` function :cpp:func:`ledc_get_duty`.
/hal_espressif-3.6.0/components/driver/
Dledc.c497 uint32_t ledc_get_duty(ledc_mode_t speed_mode, ledc_channel_t channel) in ledc_get_duty() function