2023-08-21 23:46:12 +02:00
|
|
|
// Copyright 2023 Massdrop, Inc.
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define ADC_BUFFER_DEPTH 4
|
|
|
|
#define ADC_SAMPLING_RATE ADC_SMPR_SMP_601P5
|
|
|
|
#define ADC_RESOLUTION ADC_CFGR_RES_12BITS
|
|
|
|
|
|
|
|
#define I2C_DRIVER I2CD2
|
|
|
|
#define I2C1_SCL_PIN A9
|
|
|
|
#define I2C1_SDA_PIN A10
|
|
|
|
|
|
|
|
#define EXTERNAL_EEPROM_I2C_BASE_ADDRESS 0b10101000
|
|
|
|
#define EXTERNAL_EEPROM_WP_PIN B5
|
|
|
|
#define EEPROM_I2C_24LC256
|
|
|
|
|
2023-10-21 13:41:59 +02:00
|
|
|
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_VCC
|
|
|
|
#define IS31FL3733_I2C_ADDRESS_2 IS31FL3733_I2C_ADDRESS_VCC_VCC
|
2023-09-13 14:52:16 +02:00
|
|
|
#define IS31FL3733_DRIVER_COUNT 2
|
2023-09-14 09:02:40 +02:00
|
|
|
#define IS31FL3733_PWM_FREQUENCY IS31FL3733_PWM_FREQUENCY_26K7_HZ
|
2023-08-21 23:46:12 +02:00
|
|
|
|
|
|
|
#define RGB_MATRIX_CYCLE_ZONES_ENABLE
|
|
|
|
#define RGB_MATRIX_CAPS_LOCK_INDEX 30
|