Update ISSI LED types (#22099)
This commit is contained in:
parent
c0f16be50f
commit
d99dbe4d56
148 changed files with 262 additions and 239 deletions
|
@ -47,6 +47,9 @@
|
|||
# define IS31FL3733_GLOBALCURRENT ISSI_GLOBALCURRENT
|
||||
#endif
|
||||
|
||||
#define is31_led is31fl3733_led_t
|
||||
#define g_is31_leds g_is31fl3733_leds
|
||||
|
||||
#define PUR_0R IS31FL3733_PUR_0R
|
||||
#define PUR_05KR IS31FL3733_PUR_05KR
|
||||
#define PUR_3KR IS31FL3733_PUR_3KR
|
||||
|
@ -73,12 +76,12 @@
|
|||
#define IS31FL3733_I2C_ADDRESS_VCC_SDA 0x5E
|
||||
#define IS31FL3733_I2C_ADDRESS_VCC_VCC 0x5F
|
||||
|
||||
typedef struct is31_led {
|
||||
typedef struct is31fl3733_led_t {
|
||||
uint8_t driver : 2;
|
||||
uint8_t v;
|
||||
} __attribute__((packed)) is31_led;
|
||||
} __attribute__((packed)) is31fl3733_led_t;
|
||||
|
||||
extern const is31_led PROGMEM g_is31_leds[LED_MATRIX_LED_COUNT];
|
||||
extern const is31fl3733_led_t PROGMEM g_is31fl3733_leds[LED_MATRIX_LED_COUNT];
|
||||
|
||||
void is31fl3733_init(uint8_t addr, uint8_t sync);
|
||||
bool is31fl3733_write_register(uint8_t addr, uint8_t reg, uint8_t data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue