/Zephyr-Core-3.7.0/drivers/led/ |
D | led_mchp_xec.c | 101 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()
|
D | led_handlers.c | 11 uint32_t delay_on, uint32_t delay_off) in z_vrfy_led_blink() argument 15 delay_off); in z_vrfy_led_blink()
|
D | led_pwm.c | 30 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()
|
D | pca9633.c | 57 uint32_t delay_on, uint32_t delay_off) in pca9633_led_blink() argument 65 period = delay_on + delay_off; in pca9633_led_blink()
|
D | tlc59108.c | 84 uint32_t delay_on, uint32_t delay_off) in tlc59108_led_blink() argument 92 period = delay_on + delay_off; in tlc59108_led_blink()
|
D | lp3943.c | 126 uint32_t delay_on, uint32_t delay_off) in lp3943_led_blink() argument 135 period = delay_on + delay_off; in lp3943_led_blink()
|
D | ht16k33.c | 92 uint32_t delay_on, uint32_t delay_off) in ht16k33_led_blink() argument 103 period = delay_on + delay_off; in ht16k33_led_blink() 109 if (delay_off == 0) { in ht16k33_led_blink()
|
D | lp5562.c | 764 uint32_t delay_on, uint32_t delay_off) in lp5562_led_blink() argument 805 ret = lp5562_program_wait(dev, engine, ++command_index, delay_off); in lp5562_led_blink()
|
/Zephyr-Core-3.7.0/samples/drivers/led_xec/src/ |
D | main.c | 59 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.7.0/samples/drivers/led_lp5562/src/ |
D | main.c | 114 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.7.0/include/zephyr/drivers/ |
D | led.h | 56 uint32_t delay_on, uint32_t delay_off); 139 uint32_t delay_on, uint32_t delay_off); 142 uint32_t delay_on, uint32_t delay_off) in z_impl_led_blink() argument 150 return api->blink(dev, led, delay_on, delay_off); in z_impl_led_blink()
|