summaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/satisfaction75/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-04-19 03:08:31 +0000
committerQMK Bot <hello@qmk.fm>2021-04-19 03:08:31 +0000
commit7728b0f966c9ccad42c573bb10193de1398f5503 (patch)
tree7dd82835f2e7b31dc9411ebe38f2befa3934152e /keyboards/cannonkeys/satisfaction75/config.h
parent0a9e18fae13654ab6d8d85a9867fc10a4261103f (diff)
parenta0089aa34519ec4fcf7cee6a352424e4b7cba7da (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/cannonkeys/satisfaction75/config.h')
-rw-r--r--keyboards/cannonkeys/satisfaction75/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/satisfaction75/config.h b/keyboards/cannonkeys/satisfaction75/config.h
index dfb624a0d7..e100cc99b1 100644
--- a/keyboards/cannonkeys/satisfaction75/config.h
+++ b/keyboards/cannonkeys/satisfaction75/config.h
@@ -51,6 +51,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
+// I2C config
+#define I2C_DRIVER I2CD1
+#define I2C1_SCL_BANK GPIOB
+#define I2C1_SCL 6
+#define I2C1_SDA 7
+#define I2C1_SCL_PAL_MODE 1
+#define I2C1_SDA_PAL_MODE 1
+#define I2C1_TIMINGR_PRESC 0x00U
+#define I2C1_TIMINGR_SCLDEL 0x03U
+#define I2C1_TIMINGR_SDADEL 0x01U
+#define I2C1_TIMINGR_SCLH 0x03U
+#define I2C1_TIMINGR_SCLL 0x09U
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5