aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/gpio.h
diff options
context:
space:
mode:
authorWulfsta <wulfstawulfsta@gmail.com>2024-10-17 02:38:59 -0400
committerKevinOConnor <kevin@koconnor.net>2024-11-12 19:50:48 -0500
commit0f7887fffe98b628cf9686d359adc6aedba1cc83 (patch)
treec8209fcff71ed13f8077168875daebf4603f2652 /src/generic/gpio.h
parenta34034494ea0ed3f3e132e38e80ab03bd998c889 (diff)
downloadkutter-0f7887fffe98b628cf9686d359adc6aedba1cc83.tar.gz
kutter-0f7887fffe98b628cf9686d359adc6aedba1cc83.tar.xz
kutter-0f7887fffe98b628cf9686d359adc6aedba1cc83.zip
sensor_lis2dw: add lis3dh sensor and i2c communication
Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
Diffstat (limited to 'src/generic/gpio.h')
-rw-r--r--src/generic/gpio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/generic/gpio.h b/src/generic/gpio.h
index cb104d00..9f86952d 100644
--- a/src/generic/gpio.h
+++ b/src/generic/gpio.h
@@ -41,4 +41,8 @@ void spi_prepare(struct spi_config config);
void spi_transfer(struct spi_config config, uint8_t receive_data
, uint8_t len, uint8_t *data);
+struct i2c_config {
+ uint32_t cfg;
+};
+
#endif // gpio.h