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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ht16k33.c | ||
| is31fl3194.c | ||
| is31fl3216a.c | ||
| is31fl3733.c | ||
| Kconfig | ||
| Kconfig.gpio | ||
| Kconfig.ht16k33 | ||
| Kconfig.is31fl3194 | ||
| Kconfig.is31fl3216a | ||
| Kconfig.is31fl3733 | ||
| Kconfig.lp50xx | ||
| Kconfig.lp3943 | ||
| Kconfig.lp5562 | ||
| Kconfig.lp5569 | ||
| Kconfig.ncp5623 | ||
| Kconfig.npm1300 | ||
| Kconfig.pca9633 | ||
| Kconfig.pwm | ||
| Kconfig.tlc59108 | ||
| Kconfig.xec | ||
| 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 | ||