lp5562.h 406 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <stdint.h>
  3. #include <stdbool.h>
  4. typedef enum {
  5. LP5562ChannelRed,
  6. LP5562ChannelGreen,
  7. LP5562ChannelBlue,
  8. LP5562ChannelWhite,
  9. } LP5562Channel;
  10. /* Initialize Driver */
  11. void lp5562_reset();
  12. void lp5562_configure();
  13. void lp5562_enable();
  14. void lp5562_set_channel_current(LP5562Channel channel, uint8_t value);
  15. void lp5562_set_channel_value(LP5562Channel channel, uint8_t value);