fa4a6e255c
- Added modular device support and devicetree bindings for ILI9341, ILI9488, CST816S, XPT2046, and GPIO button input, updating several board configurations for display/touch/backlight/keyboard/battery. - Added a setting to control deprecated HAL usage (device property + Kconfig).
22 lines
357 B
C
22 lines
357 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <tactility/drivers/gpio.h>
|
|
|
|
struct M5stackCardputerKeyboardConfig {
|
|
struct GpioPinSpec* pins_output;
|
|
uint8_t pins_output_count;
|
|
struct GpioPinSpec* pins_input;
|
|
uint8_t pins_input_count;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|