Searched refs:max_period (Results 1 – 7 of 7) sorted by relevance
24 uint32_t max_period; in main() local45 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()
27 uint32_t max_period; member
137 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()
67 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()
98 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()
105 if (period < dev_data->min_period || period > dev_data->max_period) { in ht16k33_led_blink()319 dev_data->max_period = 2000U; in ht16k33_init()
643 (time_per_step > dev_data->max_period)) { in lp5562_program_ramp()911 dev_data->max_period = LP5562_MAX_BLINK_PERIOD; in lp5562_led_init()