diff options
author | フィルターペーパー <76888457+filterpaper@users.noreply.github.com> | 2023-12-24 11:02:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-23 19:02:29 -0800 |
commit | b37d23bfa5f4c46abd08c8eea5625a7f95ca6341 (patch) | |
tree | b41b91b8b183c6b94dda2cc9d95af83e8e94be2b /keyboards/shandoncodes/mino_plus/hotswap/config.h | |
parent | 5050b91068a1b0fe7525600ab19a6da1c939faef (diff) |
Refactor: group shandoncodes keyboards (#22743)
Diffstat (limited to 'keyboards/shandoncodes/mino_plus/hotswap/config.h')
-rw-r--r-- | keyboards/shandoncodes/mino_plus/hotswap/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/shandoncodes/mino_plus/hotswap/config.h b/keyboards/shandoncodes/mino_plus/hotswap/config.h new file mode 100644 index 0000000000..b8c0007938 --- /dev/null +++ b/keyboards/shandoncodes/mino_plus/hotswap/config.h @@ -0,0 +1,15 @@ +// Copyright 2023 ShandonCodes (@ShandonCodes) +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define I2C_DRIVER I2CD1 +#define I2C1_SCL_PIN B6 +#define I2C1_SDA_PIN B7 +#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 + |