mpu9250官方驱动包
9轴传感器官方驱动包,内含stm32F4驱动、mps430等驱动,各位下载下来后自己看吧。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 21606 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6BinarySTM32L-Discovery.hex
文件 19342 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLdmpKey.h
文件 6765 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLdmpmap.h
文件 98949 2015-01-26 19:11 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu.c
文件 4815 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu.h
文件 58481 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu_dmp_motion_driver.c
文件 3538 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu_dmp_motion_driver.h
文件 10450 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludelog.h
文件 1014 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemlinclude.h
文件 2264 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemlmath.h
文件 2134 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemlos.h
文件 9514 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemltypes.h
文件 11753 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludempu.h
文件 834 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludestdint_invensense.h
文件 6052 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverstm32Llog_stm32.c
文件 1546 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverstm32Lpacket.h
文件 11202 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coreeMPL-haleMPL_outputs.c
文件 1312 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coreeMPL-haleMPL_outputs.h
文件 45887 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitedata_builder.c
文件 9505 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitedata_builder.h
文件 18516 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitehal_outputs.c
文件 1699 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitehal_outputs.h
文件 656 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremlliteinvensense.h
文件 1591 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitemessage_layer.c
文件 934 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitemessage_layer.h
文件 1025 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitemlmath.c
文件 25352 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremlliteml_math_func.c
文件 4881 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremlliteml_math_func.h
文件 1787 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitempl.c
文件 435 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitempl.h
............此处省略1427个文件信息
/*
$License:
Copyright (C) 2011-2012 InvenSense Corporation All Rights Reserved.
See included License.txt for License information.
$
*/
/**
* @addtogroup DRIVERS Sensor Driver layer
* @brief Hardware drivers to communicate with sensors via I2C.
*
* @{
* @file inv_mpu.c
* @brief An I2C-based driver for Invensense gyroscopes.
* @details This driver currently works for the following devices:
* MPU6050
* MPU6500
* MPU9150 (or MPU6050 w/ AK8975 on the auxiliary bus)
* MPU9250 (or MPU6500 w/ AK8963 on the auxiliary bus)
*/
#include
#include
#include
#include
#include
#include “inv_mpu.h“
/* The following functions must be defined for this platform:
* i2c_write(unsigned char slave_addr unsigned char reg_addr
* unsigned char length unsigned char const *data)
* i2c_read(unsigned char slave_addr unsigned char reg_addr
* unsigned char length unsigned char *data)
* delay_ms(unsigned long num_ms)
* get_ms(unsigned long *count)
* reg_int_cb(void (*cb)(void) unsigned char port unsigned char pin)
* labs(long x)
* fabsf(float x)
* min(int a int b)
*/
#if defined EMPL_TARGET_STM32F4
#include “i2c.h“
#include “main.h“
#include “log.h“
#include “board-st_discovery.h“
#define i2c_write Sensors_I2C_WriteRegister
#define i2c_read Sensors_I2C_ReadRegister
#define delay_ms mdelay
#define get_ms get_tick_count
#define log_i MPL_LOGI
#define log_e MPL_LOGE
#define min(ab) ((a
#elif defined MOTION_DRIVER_TARGET_MSP430
#include “msp430.h“
#include “msp430_i2c.h“
#include “msp430_clock.h“
#include “msp430_interrupt.h“
#define i2c_write msp430_i2c_write
#define i2c_read msp430_i2c_read
#define delay_ms msp430_delay_ms
#define get_ms msp430_get_clock_ms
static inline int reg_int_cb(struct int_param_s *int_param)
{
return msp430_reg_int_cb(int_param->cb int_param->pin int_param->lp_exit
int_param->active_low);
}
#define log_i(...) do {} while (0)
#define log_e(...) do {} while (0)
/* labs is already defined by TI‘s toolchain. */
/* fabs is for doubles. fabsf is for floats. */
#define fabs fabsf
#define min(ab) ((a#elif defined EMPL_TARGET_MSP430
#include “msp430.h“
#include “msp430_i2c.h“
#include “msp430_clock.h“
#include “msp430_interrupt.h“
#include “log.h“
#define i2c_write msp430_i2c_write
#define i2c_read msp430_i2c_read
#define delay_ms msp430_delay_ms
#define get_ms msp430_get_clock_ms
static inline int reg_int_cb(struct int_param_s *int_param)
{
return msp430_reg_int_cb(int_param->cb int_param->pin int_param->lp_exit
int_param->active_low);
}
#define log_i MPL_LOGI
#define log_e MPL_LOGE
/* labs is already defined by TI‘s toolchain. */
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 21606 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6BinarySTM32L-Discovery.hex
文件 19342 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLdmpKey.h
文件 6765 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLdmpmap.h
文件 98949 2015-01-26 19:11 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu.c
文件 4815 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu.h
文件 58481 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu_dmp_motion_driver.c
文件 3538 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredrivereMPLinv_mpu_dmp_motion_driver.h
文件 10450 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludelog.h
文件 1014 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemlinclude.h
文件 2264 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemlmath.h
文件 2134 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemlos.h
文件 9514 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludemltypes.h
文件 11753 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludempu.h
文件 834 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverincludestdint_invensense.h
文件 6052 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverstm32Llog_stm32.c
文件 1546 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coredriverstm32Lpacket.h
文件 11202 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coreeMPL-haleMPL_outputs.c
文件 1312 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coreeMPL-haleMPL_outputs.h
文件 45887 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitedata_builder.c
文件 9505 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitedata_builder.h
文件 18516 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitehal_outputs.c
文件 1699 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitehal_outputs.h
文件 656 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremlliteinvensense.h
文件 1591 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitemessage_la
文件 934 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitemessage_la
文件 1025 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitemlmath.c
文件 25352 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremlliteml_math_func.c
文件 4881 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremlliteml_math_func.h
文件 1787 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitempl.c
文件 435 2014-07-29 06:26 motion_driver_6-motion_driver_6.1armSTM32F4_MD6ProjectseMD6coremllitempl.h
............此处省略1427个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)