mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
21 lines
325 B
C
21 lines
325 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <tactility/drivers/gpio.h>
|
|
#include <hal/i2c_types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct Esp32I2cConfig {
|
|
i2c_port_t port;
|
|
uint32_t clockFrequency;
|
|
struct GpioPinSpec pinSda;
|
|
struct GpioPinSpec pinScl;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|