GeekIMU/2.Firmware/STM32 -ICM42688P/Firmware/sensor/sensors.h

27 lines
634 B
C

/******************** (C) COPYRIGHT 2020 GEEKIMU *******************************
* File Name : sensors.h
* Current Version : V2.0 & ST 3.5.0
* Author : zhanli 719901725@qq.com & JustFeng.
* Date of Issued : 2019.5.26 zhanli : Create
* Comments : MPU6500Çý¶¯
********************************************************************************/
#include <stdint.h>
#ifndef __SENSORS_H__
#define __SENSORS_H__
typedef struct {
int16_t Gyro[3];
int16_t Accel[3];
int16_t Temp;
}IMU_RawData;
typedef struct {
float Gyro[3];
float Accel[3];
float Mag[3];
float Temp;
}IMU_Data;
#endif