Home
last modified time | relevance | path

Searched refs:delay_off (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.5.0/drivers/led/
Dled_mchp_xec.c101 static uint32_t calc_blink_32k_prescaler(uint32_t delay_on, uint32_t delay_off) in calc_blink_32k_prescaler() argument
103 uint32_t temp = ((delay_on + delay_off) * XEC_BBLED_BLINK_CLK_SRC_HZ) / (256U * 1000U); in calc_blink_32k_prescaler()
121 static uint32_t calc_blink_duty_cycle(uint32_t delay_on, uint32_t delay_off) in calc_blink_duty_cycle() argument
123 return (256U * delay_on) / (delay_on + delay_off); in calc_blink_duty_cycle()
144 uint32_t delay_on, uint32_t delay_off) in xec_bbled_blink() argument
156 || (delay_off > XEC_BBLED_BLINK_PERIOD_MAX_MS)) { in xec_bbled_blink()
160 period = delay_on + delay_off; in xec_bbled_blink()
166 prescaler = calc_blink_32k_prescaler(delay_on, delay_off); in xec_bbled_blink()
167 dcs = calc_blink_duty_cycle(delay_on, delay_off); in xec_bbled_blink()
Dled_handlers.c11 uint32_t delay_on, uint32_t delay_off) in z_vrfy_led_blink() argument
15 delay_off); in z_vrfy_led_blink()
Dled_pwm.c30 uint32_t delay_on, uint32_t delay_off) in led_pwm_blink() argument
44 if (u32_add_overflow(delay_on, delay_off, &period_usec) || in led_pwm_blink()
Dpca9633.c57 uint32_t delay_on, uint32_t delay_off) in pca9633_led_blink() argument
65 period = delay_on + delay_off; in pca9633_led_blink()
Dtlc59108.c84 uint32_t delay_on, uint32_t delay_off) in tlc59108_led_blink() argument
92 period = delay_on + delay_off; in tlc59108_led_blink()
Dlp3943.c126 uint32_t delay_on, uint32_t delay_off) in lp3943_led_blink() argument
135 period = delay_on + delay_off; in lp3943_led_blink()
Dht16k33.c93 uint32_t delay_on, uint32_t delay_off) in ht16k33_led_blink() argument
104 period = delay_on + delay_off; in ht16k33_led_blink()
110 if (delay_off == 0) { in ht16k33_led_blink()
Dlp5562.c756 uint32_t delay_on, uint32_t delay_off) in lp5562_led_blink() argument
797 ret = lp5562_program_wait(dev, engine, ++command_index, delay_off); in lp5562_led_blink()
/Zephyr-Core-3.5.0/samples/drivers/led_xec/src/
Dmain.c59 uint32_t delay_on = 0, delay_off = 0; in led_test() local
82 delay_off = 250; in led_test()
83 ret = led_blink(dev, 0, delay_on, delay_off); in led_test()
94 delay_off = 1800; in led_test()
95 ret = led_blink(dev, 0, delay_on, delay_off); in led_test()
/Zephyr-Core-3.5.0/samples/drivers/led_lp5562/src/
Dmain.c114 uint32_t delay_on, uint32_t delay_off) in blink_color() argument
119 ret = led_blink(dev, LED_R, delay_on, delay_off); in blink_color()
127 ret = led_blink(dev, LED_G, delay_on, delay_off); in blink_color()
135 ret = led_blink(dev, LED_B, delay_on, delay_off); in blink_color()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dled.h55 uint32_t delay_on, uint32_t delay_off);
138 uint32_t delay_on, uint32_t delay_off);
141 uint32_t delay_on, uint32_t delay_off) in z_impl_led_blink() argument
149 return api->blink(dev, led, delay_on, delay_off); in z_impl_led_blink()