| LibDriver MPU9250 1.0.0 MPU9250 full function driver

Macros | Functions
driver_mpu9250_basic.h File Reference

driver mpu9250 basic header file More...

`#include "driver_mpu9250_interface.h"`

Go to the source code of this file.

## Macros
#define | MPU9250_BASIC_DEFAULT_CLOCK_SOURCE MPU9250_CLOCK_SOURCE_PLL
| mpu9250 basic example default definition More...
#define | MPU9250_BASIC_DEFAULT_RATE 50
#define | MPU9250_BASIC_DEFAULT_LOW_PASS_FILTER MPU9250_LOW_PASS_FILTER_3
#define | MPU9250_BASIC_DEFAULT_CYCLE_WAKE_UP MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_PIN_LEVEL MPU9250_PIN_LEVEL_LOW
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_PIN_TYPE MPU9250_PIN_TYPE_PUSH_PULL
#define | MPU9250_BASIC_DEFAULT_ACCELEROMETER_RANGE MPU9250_ACCELEROMETER_RANGE_2G
#define | MPU9250_BASIC_DEFAULT_GYROSCOPE_RANGE MPU9250_GYROSCOPE_RANGE_2000DPS
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_MOTION MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_FIFO_OVERFLOW MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_DMP MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_FSYNC_INT MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_DATA_READY MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_LATCH MPU9250_BOOL_TRUE
#define | MPU9250_BASIC_DEFAULT_INTERRUPT_READ_CLEAR MPU9250_BOOL_TRUE
#define | MPU9250_BASIC_DEFAULT_EXTERN_SYNC MPU9250_EXTERN_SYNC_INPUT_DISABLED
#define | MPU9250_BASIC_DEFAULT_FSYNC_INTERRUPT MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_FSYNC_INTERRUPT_LEVEL MPU9250_PIN_LEVEL_LOW
#define | MPU9250_BASIC_DEFAULT_IIC_MASTER MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_IIC_BYPASS MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_GYROSCOPE_STANDBY MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_FIFO_MODE MPU9250_FIFO_MODE_NORMAL
#define | MPU9250_BASIC_DEFAULT_GYROSCOPE_CHOICE 0
#define | MPU9250_BASIC_DEFAULT_ACCELEROMETER_CHOICE 0
#define | MPU9250_BASIC_DEFAULT_ACCELEROMETER_LOW_PASS_FILTER MPU9250_ACCELEROMETER_LOW_PASS_FILTER_3
#define | MPU9250_BASIC_DEFAULT_LOW_POWER_ACCEL_OUTPUT_RATE MPU9250_LOW_POWER_ACCEL_OUTPUT_RATE_62P50
#define | MPU9250_BASIC_DEFAULT_WAKE_ON_MOTION MPU9250_BOOL_FALSE
#define | MPU9250_BASIC_DEFAULT_ACCELEROMETER_COMPARE MPU9250_BOOL_TRUE
#define | MPU9250_BASIC_DEFAULT_MAGNETOMETER_MODE MPU9250_MAGNETOMETER_MODE_CONTINUOUS2
#define | MPU9250_BASIC_DEFAULT_MAGNETOMETER_BITS MPU9250_MAGNETOMETER_BITS_16

## Functions
uint8_t | mpu9250_basic_init (mpu9250_interface_t interface, mpu9250_address_t addr_pin)
| basic example init More...
uint8_t | mpu9250_basic_deinit (void)
| basic example deinit More...
uint8_t | mpu9250_basic_read (float g[3], float dps[3], float ut[3])
| basic example read More...
uint8_t | mpu9250_basic_read_temperature (float *degrees)
| basic example read temperature More...

## Detailed Description

driver mpu9250 basic header file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
  1.0.0

Author
  Shifeng Li

Date
  2022-08-30

### history

Date | Version | Author | Description
--- | --- | --- | ---
2022/08/30 | 1.0 | Shifeng Li | first upload

Definition in file driver_mpu9250_basic.h.