| LibDriver MPU9250 1.0.0 MPU9250 full function driver

Macros
mpu9250 link driver function
mpu9250 driver function

mpu9250 link driver modules More...

## Macros
#define | DRIVER_MPU9250_LINK_INIT(HANDLE, STRUCTURE) memset(HANDLE, 0, sizeof(STRUCTURE))
| initialize mpu9250_handle_t structure More...
#define | DRIVER_MPU9250_LINK_IIC_INIT(HANDLE, FUC) (HANDLE)->iic_init = FUC
| link iic_init function More...
#define | DRIVER_MPU9250_LINK_IIC_DEINIT(HANDLE, FUC) (HANDLE)->iic_deinit = FUC
| link iic_deinit function More...
#define | DRIVER_MPU9250_LINK_IIC_READ(HANDLE, FUC) (HANDLE)->iic_read = FUC
| link iic_read function More...
#define | DRIVER_MPU9250_LINK_IIC_WRITE(HANDLE, FUC) (HANDLE)->iic_write = FUC
| link iic_write function More...
#define | DRIVER_MPU9250_LINK_SPI_INIT(HANDLE, FUC) (HANDLE)->spi_init = FUC
| link spi_init function More...
#define | DRIVER_MPU9250_LINK_SPI_DEINIT(HANDLE, FUC) (HANDLE)->spi_deinit = FUC
| link spi_deinit function More...
#define | DRIVER_MPU9250_LINK_SPI_READ(HANDLE, FUC) (HANDLE)->spi_read = FUC
| link spi_read function More...
#define | DRIVER_MPU9250_LINK_SPI_WRITE(HANDLE, FUC) (HANDLE)->spi_write = FUC
| link spi_write function More...
#define | DRIVER_MPU9250_LINK_DELAY_MS(HANDLE, FUC) (HANDLE)->delay_ms = FUC
| link delay_ms function More...
#define | DRIVER_MPU9250_LINK_DEBUG_PRINT(HANDLE, FUC) (HANDLE)->debug_print = FUC
| link debug_print function More...
#define | DRIVER_MPU9250_LINK_RECEIVE_CALLBACK(HANDLE, FUC) (HANDLE)->receive_callback = FUC
| link receive_callback function More...

## Detailed Description

mpu9250 link driver modules

## Macro Definition Documentation

## ◆ DRIVER_MPU9250_LINK_DEBUG_PRINT

#define DRIVER_MPU9250_LINK_DEBUG_PRINT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->debug_print = FUC

link debug_print function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to a debug_print function address

Note
  none

Definition at line 640 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_DELAY_MS

#define DRIVER_MPU9250_LINK_DELAY_MS | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->delay_ms = FUC

link delay_ms function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to a delay_ms function address

Note
  none

Definition at line 632 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_IIC_DEINIT

#define DRIVER_MPU9250_LINK_IIC_DEINIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->iic_deinit = FUC

link iic_deinit function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to an iic_deinit function address

Note
  none

Definition at line 576 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_IIC_INIT

#define DRIVER_MPU9250_LINK_IIC_INIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->iic_init = FUC

link iic_init function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to an iic_init function address

Note
  none

Definition at line 568 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_IIC_READ

#define DRIVER_MPU9250_LINK_IIC_READ | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->iic_read = FUC

link iic_read function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to an iic_read function address

Note
  none

Definition at line 584 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_IIC_WRITE

#define DRIVER_MPU9250_LINK_IIC_WRITE | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->iic_write = FUC

link iic_write function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to an iic_write function address

Note
  none

Definition at line 592 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_INIT

#define DRIVER_MPU9250_LINK_INIT | ( |  | HANDLE,
|  |  | STRUCTURE
| ) |  | memset(HANDLE, 0, sizeof(STRUCTURE))

initialize mpu9250_handle_t structure

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | STRUCTURE | is mpu9250_handle_t

Note
  none

Definition at line 560 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_RECEIVE_CALLBACK

#define DRIVER_MPU9250_LINK_RECEIVE_CALLBACK | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->receive_callback = FUC

link receive_callback function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to a receive_callback function address

Note
  none

Definition at line 648 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_SPI_DEINIT

#define DRIVER_MPU9250_LINK_SPI_DEINIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_deinit = FUC

link spi_deinit function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to a spi_deinit function address

Note
  none

Definition at line 608 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_SPI_INIT

#define DRIVER_MPU9250_LINK_SPI_INIT | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_init = FUC

link spi_init function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to a spi_init function address

Note
  none

Definition at line 600 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_SPI_READ

#define DRIVER_MPU9250_LINK_SPI_READ | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_read = FUC

link spi_read function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to a spi_read function address

Note
  none

Definition at line 616 of file driver_mpu9250.h.

## ◆ DRIVER_MPU9250_LINK_SPI_WRITE

#define DRIVER_MPU9250_LINK_SPI_WRITE | ( |  | HANDLE,
|  |  | FUC
| ) |  | (HANDLE)->spi_write = FUC

link spi_write function

Parameters

  [in] | HANDLE | points to an mpu9250 handle structure
  [in] | FUC | points to a spi_write function address

Note
  none

Definition at line 624 of file driver_mpu9250.h.