Added I2C settings app (#85)

This commit is contained in:
Ken Van Hoeylandt
2024-11-24 21:31:15 +01:00
committed by GitHub
parent d8731eaa17
commit c8f63adba4
19 changed files with 186 additions and 56 deletions
+3 -1
View File
@@ -1,7 +1,8 @@
#pragma once
#include "I2cCompat.h"
#include <CoreTypes.h>
#include "CoreTypes.h"
#include <string>
#include <vector>
namespace tt::hal::i2c {
@@ -13,6 +14,7 @@ typedef enum {
} InitMode;
typedef struct {
std::string name;
/** The port to operate on */
i2c_port_t port;
/** Whether this bus should be initialized when device starts up */