3#if defined(BITS_BIG_ENDIAN) && BITS_BIG_ENDIAN == 1
4#error Bit structures defined in this file are not portable to BE
7#define LP5562_ADDRESS 0x60
8#define LP5562_I2C_TIMEOUT 50
10#define LP5562_CHANNEL_RED_CURRENT_REGISTER 0x07
11#define LP5562_CHANNEL_GREEN_CURRENT_REGISTER 0x06
12#define LP5562_CHANNEL_BLUE_CURRENT_REGISTER 0x05
13#define LP5562_CHANNEL_WHITE_CURRENT_REGISTER 0x0F
15#define LP5562_CHANNEL_RED_VALUE_REGISTER 0x04
16#define LP5562_CHANNEL_GREEN_VALUE_REGISTER 0x03
17#define LP5562_CHANNEL_BLUE_VALUE_REGISTER 0x02
18#define LP5562_CHANNEL_WHITE_VALUE_REGISTER 0x0E
28 EngExec ENG3_EXEC : 2;
29 EngExec ENG2_EXEC : 2;
30 EngExec ENG1_EXEC : 2;
36 EngModeDisable = 0b00,
43 EngMode ENG3_MODE : 2;
44 EngMode ENG2_MODE : 2;
45 EngMode ENG1_MODE : 2;
52 uint8_t reserved0 : 3;
55 uint8_t reserved1 : 1;
77 bool EXT_CLK_USED : 1;
87 EngSelectEngine1 = 0b01,
88 EngSelectEngine2 = 0b10,
89 EngSelectEngine3 = 0b11,
Definition lp5562_reg.h:27
Definition lp5562_reg.h:42
Definition lp5562_reg.h:49
Definition lp5562_reg.h:58
Definition lp5562_reg.h:63
Definition lp5562_reg.h:68
Definition lp5562_reg.h:73
Definition lp5562_reg.h:81
Definition lp5562_reg.h:92