forked from mirrors/qmk_userspace
Add and use PWM frequency defines for ISSI LED drivers (#22009)
This commit is contained in:
parent
f9ed1e3ebc
commit
76daf29ef0
18 changed files with 58 additions and 12 deletions
|
@ -93,6 +93,11 @@ void is31fl3741_set_pwm_buffer(const is31_led *pled, uint8_t red, uint8_t green,
|
|||
#define IS31FL3741_PUR_16KR 0x06 // 16k Ohm resistor
|
||||
#define IS31FL3741_PUR_32KR 0x07 // 32k Ohm resistor
|
||||
|
||||
#define IS31FL3741_PWM_FREQUENCY_29K_HZ 0b0000
|
||||
#define IS31FL3741_PWM_FREQUENCY_3K6_HZ 0b0011
|
||||
#define IS31FL3741_PWM_FREQUENCY_1K8_HZ 0b0111
|
||||
#define IS31FL3741_PWM_FREQUENCY_900_HZ 0b1011
|
||||
|
||||
#define CS1_SW1 0x00
|
||||
#define CS2_SW1 0x01
|
||||
#define CS3_SW1 0x02
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue