12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef __drv_lsm6ds3tr_h__
- #define __drv_lsm6ds3tr_h__
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*Includes ------------------------------------------------------*/
- #include <stdint.h>
- #include <stdio.h>
- #include <stdbool.h>
- #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
|