From 0f7887fffe98b628cf9686d359adc6aedba1cc83 Mon Sep 17 00:00:00 2001 From: Wulfsta Date: Thu, 17 Oct 2024 02:38:59 -0400 Subject: sensor_lis2dw: add lis3dh sensor and i2c communication Signed-off-by: Luke Vuksta --- src/ar100/gpio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ar100') diff --git a/src/ar100/gpio.h b/src/ar100/gpio.h index b5eea2f9..2d29a7dc 100644 --- a/src/ar100/gpio.h +++ b/src/ar100/gpio.h @@ -40,4 +40,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 { + void *cfg; +}; + #endif -- cgit v1.2.3-70-g09d2