dc32-peppercon9-addon/firmware/user/src/lis2dw.c

31 lines
328 B
C

/*
* Created on: Jul 28, 2024
*/
#include <stdint.h>
#include "i2c.h"
#include "lis2dw.h"
void lis2dw_init()
{
}
void lis2dw_set_operating_mode(uint8_t mode)
{
}
uint8_t lis2dw_get_temp_8b()
{
return i2c_read_reg_8b(LIS2DW_ADDR, LIS2DW_REG_OUT_T);
}
void lis2dw_get_axes(int16_t *x, int16_t *y, int16_t *z)
{
}