#ifndef __drv_lsm6ds3tr_h__ #define __drv_lsm6ds3tr_h__ #ifdef __cplusplus extern "C" { #endif /*Includes ------------------------------------------------------*/ #include #include #include #include "lsm6ds3tr-c_reg.h" typedef void (*lsm6ds3tr_c_callback)(void*); typedef struct { int16_t gry[3]; int16_t acc[3]; int16_t mag[3]; uint16_t timestamp; } lsm6ds3tr_c_handle_t; int LSM6DS3TR_C_Initialize(void); void LSM6DS3TR_C_Get_9Dof_Data(void); void LSM6DS3TR_C_Regist(lsm6ds3tr_c_callback cb); #ifdef __cplusplus } #endif #endif