mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 23:14:20 +00:00
610f4f5d73
* targets/api-hal: rework documentation in doxygen style * core/api-hal: rework documentation in doxygen style * core/furi: rework documentation in doxygen style * drivers: rework documentation in doxygen style Co-authored-by: あく <alleteam@gmail.com>
27 lines
539 B
C
27 lines
539 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
/** Channel types */
|
|
typedef enum {
|
|
LP5562ChannelRed,
|
|
LP5562ChannelGreen,
|
|
LP5562ChannelBlue,
|
|
LP5562ChannelWhite,
|
|
} LP5562Channel;
|
|
|
|
/** Initialize Driver */
|
|
void lp5562_reset();
|
|
|
|
/** Configure Driver */
|
|
void lp5562_configure();
|
|
|
|
/** Enable Driver */
|
|
void lp5562_enable();
|
|
|
|
/** Set channel current */
|
|
void lp5562_set_channel_current(LP5562Channel channel, uint8_t value);
|
|
|
|
/** Set channel current */
|
|
void lp5562_set_channel_value(LP5562Channel channel, uint8_t value);
|