Home
last modified time | relevance | path

Searched refs:ledc_timer (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/pcnt/pulse_count_event/main/
Dpcnt_event_example_main.c83 ledc_timer_config_t ledc_timer; in ledc_init() local
84 ledc_timer.speed_mode = LEDC_LOW_SPEED_MODE; in ledc_init()
85 ledc_timer.timer_num = LEDC_TIMER_1; in ledc_init()
86 ledc_timer.duty_resolution = LEDC_TIMER_10_BIT; in ledc_init()
87 ledc_timer.freq_hz = 1; // set output frequency at 1 Hz in ledc_init()
88 ledc_timer.clk_cfg = LEDC_AUTO_CLK; in ledc_init()
89 ledc_timer_config(&ledc_timer); in ledc_init()
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_fade/main/
Dledc_fade_example_main.c88 ledc_timer_config_t ledc_timer = { in app_main() local
96 ledc_timer_config(&ledc_timer); in app_main()
99 ledc_timer.speed_mode = LEDC_HS_MODE; in app_main()
100 ledc_timer.timer_num = LEDC_HS_TIMER; in app_main()
101 ledc_timer_config(&ledc_timer); in app_main()
/hal_espressif-3.6.0/examples/mesh/manual_networking/main/
Dmesh_light.c41 ledc_timer_config_t ledc_timer = { in mesh_light_init() local
49 ledc_timer.speed_mode = LEDC_HIGH_SPEED_MODE; in mesh_light_init()
51 ledc_timer_config(&ledc_timer); in mesh_light_init()
/hal_espressif-3.6.0/examples/peripherals/ledc/ledc_basic/main/
Dledc_basic_example_main.c24 ledc_timer_config_t ledc_timer = { in example_ledc_init() local
31 ESP_ERROR_CHECK(ledc_timer_config(&ledc_timer)); in example_ledc_init()
/hal_espressif-3.6.0/examples/mesh/internal_communication/main/
Dmesh_light.c41 ledc_timer_config_t ledc_timer = { in mesh_light_init() local
48 ledc_timer_config(&ledc_timer); in mesh_light_init()
/hal_espressif-3.6.0/components/driver/test/
Dtest_pcnt.c72 ledc_timer_config_t ledc_timer = { in produce_pulse() local
79 ESP_ERROR_CHECK(ledc_timer_config(&ledc_timer)); in produce_pulse()
178 ledc_timer_config_t ledc_timer = { in count_mode_test() local
185 ledc_timer_config(&ledc_timer); in count_mode_test()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/light_driver/
Diot_light.c70 ledc_timer_t ledc_timer; member
295 light_ptr->ledc_timer = timer; in iot_light_create()
366 …channel_group[channel_idx] = light_channel_create(io_num, channel, light->mode, light->ledc_timer); in iot_light_channel_regist()