summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/nucleo_l432kc/config.h
blob: 7aa74f6682278bae34adee0ce77b21dcdb9f3bec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2021 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#include "config_common.h"

#define PRODUCT Onekey L432KC

#define MATRIX_COL_PINS { A2 }
#define MATRIX_ROW_PINS { A1 }
#define UNUSED_PINS

#define BACKLIGHT_PIN         B8
#define BACKLIGHT_PWM_DRIVER  PWMD4
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE    2

#define RGB_DI_PIN A0
#define RGB_CI_PIN B13

#define ADC_PIN A0