i2c_puppet-Linux/boards/bbq20kbd_breakout.h
2022-04-24 18:00:22 +02:00

53 lines
774 B
C

#pragma once
#define USB_VID 0x1209
#define USB_PID 0xB182
#define USB_PRODUCT "BBQ20KBD"
#define PIN_INT 0
#define PIN_BKL 25
#define PIN_SDA 18
#define PIN_SCL 23
#define PIN_TP_RESET 16
#define PIN_TP_MOTION 22
#define PIN_TP_SHUTDOWN 24
#define PIN_PUPPET_SDA 28
#define PIN_PUPPET_SCL 29
#define NUM_OF_ROWS 7
#define PINS_ROWS \
1, \
2, \
3, \
4, \
5, \
6, \
7
#define NUM_OF_COLS 6
#define PINS_COLS \
8, \
9, \
14, \
13, \
12, \
11
#define NUM_OF_BTNS 1
#define PINS_BTNS \
10,
#define BTN_KEYS \
{ KEY_BTN_RIGHT2 },
#define PIN_GPIOEXP0 15
#define PIN_GPIOEXP1 17
#define PIN_GPIOEXP2 19
#define PIN_GPIOEXP3 21
#define PIN_GPIOEXP4 26
#define PICO_DEFAULT_UART 1
#define PICO_DEFAULT_UART_TX_PIN 20