Rename DRIVER_ADDR_n defines (#22200)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-10-21 21:41:59 +10:00
committed by GitHub
parent 3f1b3a5125
commit d56ee70c52
208 changed files with 768 additions and 686 deletions

View File

@@ -35,8 +35,8 @@
/* I2C Config for LED Driver */
#define SNLED27351_DRIVER_COUNT 2
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
#define I2C1_SCL_PAL_MODE 4
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */

View File

@@ -32,9 +32,9 @@
/* I2C Config for LED Driver */
#define SNLED27351_DRIVER_COUNT 3
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
#define DRIVER_ADDR_3 SNLED27351_I2C_ADDRESS_SDA
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
#define SNLED27351_I2C_ADDRESS_3 SNLED27351_I2C_ADDRESS_SDA
#define I2C1_SCL_PAL_MODE 4
#define I2C1_OPMODE OPMODE_I2C

View File

@@ -32,8 +32,8 @@
/* I2C Config for LED Driver */
#define SNLED27351_DRIVER_COUNT 2
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
#define I2C1_SCL_PAL_MODE 4
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */