Searched refs:timer_duty_set_get (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.5.0/components/driver/test/ |
D | test_ledc.c | 87 static void timer_duty_set_get(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t duty) in timer_duty_set_get() function 112 timer_duty_set_get(ledc_ch_config.speed_mode, ledc_ch_config.channel, 0); in timer_duty_test() 113 timer_duty_set_get(ledc_ch_config.speed_mode, ledc_ch_config.channel, 1); in timer_duty_test() 114 timer_duty_set_get(ledc_ch_config.speed_mode, ledc_ch_config.channel, 1 << 12); // 50% duty in timer_duty_test() 115 timer_duty_set_get(ledc_ch_config.speed_mode, ledc_ch_config.channel, (1 << 13) - 1); in timer_duty_test() 116 timer_duty_set_get(ledc_ch_config.speed_mode, ledc_ch_config.channel, (1 << 13) - 2); in timer_duty_test()
|