diff options
author | Wulfsta <wulfstawulfsta@gmail.com> | 2024-10-17 02:38:59 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2024-11-12 19:50:48 -0500 |
commit | 0f7887fffe98b628cf9686d359adc6aedba1cc83 (patch) | |
tree | c8209fcff71ed13f8077168875daebf4603f2652 /src/generic | |
parent | a34034494ea0ed3f3e132e38e80ab03bd998c889 (diff) | |
download | kutter-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')
-rw-r--r-- | src/generic/gpio.h | 4 |
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 |