Searched refs:LEDC_CHANNEL_0 (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.6.0/components/driver/test/ |
D | test_ledc.c | 53 config.channel = LEDC_CHANNEL_0; in initialize_channel_config() 270 …uint32_t current_level = LEDC.channel_group[test_speed_mode].channel[LEDC_CHANNEL_0].conf0.idle_lv; 271 TEST_ESP_OK(ledc_stop(test_speed_mode, LEDC_CHANNEL_0, !current_level)); 273 …TEST_ASSERT_EQUAL_INT32(LEDC.channel_group[test_speed_mode].channel[LEDC_CHANNEL_0].conf0.idle_lv,… 283 …ledc_channel_t channels[8] = {LEDC_CHANNEL_0, LEDC_CHANNEL_1, LEDC_CHANNEL_2, LEDC_CHANNEL_3, LEDC… 318 TEST_ESP_OK(ledc_stop(ledc_time_config.speed_mode, LEDC_CHANNEL_0, 0)); 329 timer_duty_test(LEDC_CHANNEL_0, LEDC_TIMER_13_BIT, timer_list[i], speed_mode_list[j]); 339 TEST_ESP_OK(ledc_set_fade_with_time(test_speed_mode, LEDC_CHANNEL_0, 4000, 200)); 340 TEST_ESP_OK(ledc_fade_start(test_speed_mode, LEDC_CHANNEL_0, LEDC_FADE_WAIT_DONE)); 341 TEST_ASSERT_EQUAL_INT32(4000, ledc_get_duty(test_speed_mode, LEDC_CHANNEL_0)); [all …]
|
/hal_espressif-3.6.0/examples/mesh/internal_communication/main/ |
D | mesh_light.c | 51 .channel = LEDC_CHANNEL_0, in mesh_light_init() 80 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 86 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 92 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 98 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 104 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 110 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 116 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 122 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 127 ledc_update_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0); in mesh_light_set()
|
/hal_espressif-3.6.0/examples/mesh/manual_networking/main/ |
D | mesh_light.c | 54 .channel = LEDC_CHANNEL_0, in mesh_light_init() 83 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 89 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 95 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 101 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 107 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 113 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 119 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 3000); in mesh_light_set() 125 ledc_set_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0, 0); in mesh_light_set() 130 ledc_update_duty(LEDC_LOW_SPEED_MODE, LEDC_CHANNEL_0); in mesh_light_set()
|
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_fade/main/ |
D | ledc_fade_example_main.c | 42 #define LEDC_HS_CH0_CHANNEL LEDC_CHANNEL_0 50 #define LEDC_LS_CH0_CHANNEL LEDC_CHANNEL_0
|
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/main/ |
D | ledc_basic_example_main.c | 16 #define LEDC_CHANNEL LEDC_CHANNEL_0
|
/hal_espressif-3.6.0/components/hal/include/hal/ |
D | ledc_types.h | 81 LEDC_CHANNEL_0 = 0, /*!< LEDC channel 0 */ enumerator
|