[Keyboard] Add Mino Plus Keyboard (#19535)
Co-authored-by: Shandon Anderson <shandon@shandon.codes>
This commit is contained in:
19
keyboards/mino_plus/soldered/config.h
Normal file
19
keyboards/mino_plus/soldered/config.h
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright 2022 ShandonCodes (@ShandonCodes)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user