sensor_lis2dw: add lis3dh sensor and i2c communication

Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
This commit is contained in:
Wulfsta
2024-10-17 02:38:59 -04:00
committed by KevinOConnor
parent a34034494e
commit 0f7887fffe
6 changed files with 246 additions and 58 deletions

View File

@@ -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