Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/basic/blinky_pwm/src/
Dmain.c24 uint32_t max_period; in main() local
45 max_period = MAX_PERIOD; in main()
46 while (pwm_set_dt(&pwm_led0, max_period, max_period / 2U)) { in main()
47 max_period /= 2U; in main()
48 if (max_period < (4U * MIN_PERIOD)) { in main()
57 max_period, MIN_PERIOD); in main()
59 period = max_period; in main()
68 if (period > max_period) { in main()
69 period = max_period / 2U; in main()
/Zephyr-Core-3.5.0/drivers/led/
Dled_context.h27 uint32_t max_period; member
Dlp3943.c137 if (period < dev_data->min_period || period > dev_data->max_period) { in lp3943_led_blink()
154 val = (period * 255U) / dev_data->max_period; in lp3943_led_blink()
265 dev_data->max_period = 1600U; in lp3943_led_init()
Dpca9633.c67 if (period < dev_data->min_period || period > dev_data->max_period) { in pca9633_led_blink()
212 dev_data->max_period = 10667U; in pca9633_led_init()
Dtlc59108.c98 if (period < dev_data->min_period || period > dev_data->max_period) { in tlc59108_led_blink()
204 dev_data->max_period = 10730U; in tlc59108_led_init()
Dht16k33.c105 if (period < dev_data->min_period || period > dev_data->max_period) { in ht16k33_led_blink()
319 dev_data->max_period = 2000U; in ht16k33_init()
Dlp5562.c643 (time_per_step > dev_data->max_period)) { in lp5562_program_ramp()
911 dev_data->max_period = LP5562_MAX_BLINK_PERIOD; in lp5562_led_init()