96eccbdc8d
Replace LGPL from past commit with Apache License 2.0 for the newly created projects: - in Platforms/* - TactilityKernel Add license headers to source code in: - in Platforms/* - TactilityKernel - TactilityFreeRtos Updated LICENSE.md
21 lines
338 B
C
21 lines
338 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 {
|
|
uint32_t clock_frequency;
|
|
struct GpioPinConfig pin_sda;
|
|
struct GpioPinConfig pin_scl;
|
|
const i2c_port_t port;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|