mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
* **Documentation** * Added new C coding style guide detailing naming conventions for files, directories, macros, constants, variables, functions, and type definitions with illustrative examples. * Updated C++ coding style documentation with clarifications on C naming conventions and header directory organization patterns. * **Refactor** * Updated header include paths throughout the codebase to use lowercase naming conventions consistently.
21 lines
335 B
C
21 lines
335 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 clockFrequency;
|
|
struct GpioPinConfig pinSda;
|
|
struct GpioPinConfig pinScl;
|
|
const i2c_port_t port;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|