zephyr/drivers/led
Emil Dahl Juhl d6ac9e8424 drivers: led: lp5569: implement write_channels api
The lp5569 has multiple pwm outputs, and thus implementing the
write_channels api to set multiple values in a single call makes sense.

Implement the write_channels function with a basic range check on the
channel range.
Since the lp5569 supports auto-increment, all of the channels can be
written in one i2c transfer, starting from the pwm register of the
start_channel.

Signed-off-by: Emil Dahl Juhl <emdj@bang-olufsen.dk>
2024-11-26 00:12:37 +01:00
..
CMakeLists.txt
Kconfig
Kconfig.gpio
Kconfig.ht16k33
Kconfig.is31fl3194
Kconfig.is31fl3216a
Kconfig.is31fl3733
Kconfig.lp50xx
Kconfig.lp3943
Kconfig.lp5562 drivers: led: Update Kconfig 2022-08-11 17:46:43 +02:00
Kconfig.lp5569
Kconfig.ncp5623
Kconfig.npm1300
Kconfig.pca9633
Kconfig.pwm
Kconfig.tlc59108 drivers: led: Update Kconfig 2022-08-11 17:46:43 +02:00
Kconfig.xec
ht16k33.c
is31fl3194.c
is31fl3216a.c
is31fl3733.c
led_context.h
led_gpio.c
led_handlers.c
led_mchp_xec.c
led_npm1300.c
led_pwm.c
led_shell.c
lp50xx.c
lp3943.c
lp5562.c
lp5569.c
ncp5623.c
pca9633.c
tlc59108.c