mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-16 08:56:11 +00:00
ebb512db82
* Clean up `DEBOUNCE` in config.h, 0-9 * Clean up `DEBOUNCE` in config.h, A * Clean up `DEBOUNCE` in config.h, B * Clean up `DEBOUNCE` in config.h, C * Clean up `DEBOUNCE` in config.h, D * Clean up `DEBOUNCE` in config.h, E * Clean up `DEBOUNCE` in config.h, F * Clean up `DEBOUNCE` in config.h, G * Clean up `DEBOUNCE` in config.h, H * Clean up `DEBOUNCE` in config.h, handwired * Clean up `DEBOUNCE` in config.h, I * Clean up `DEBOUNCE` in config.h, J * Clean up `DEBOUNCE` in config.h, K * Clean up `DEBOUNCE` in config.h, L * Clean up `DEBOUNCE` in config.h, M * Clean up `DEBOUNCE` in config.h, N * Clean up `DEBOUNCE` in config.h, O * Clean up `DEBOUNCE` in config.h, P * Clean up `DEBOUNCE` in config.h, Q * Clean up `DEBOUNCE` in config.h, R * Clean up `DEBOUNCE` in config.h, S * Clean up `DEBOUNCE` in config.h, T * Clean up `DEBOUNCE` in config.h, U * Clean up `DEBOUNCE` in config.h, V * Clean up `DEBOUNCE` in config.h, W * Clean up `DEBOUNCE` in config.h, X * Clean up `DEBOUNCE` in config.h, Y * Clean up `DEBOUNCE` in config.h, Z * Remove default debounce from info.json * Migrate non-default debounce to info.json
15 lines
401 B
C
15 lines
401 B
C
// Copyright 2022 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
|
|
|