LibDriver MPU6500
Loading...
Searching...
No Matches
mpu6500 link driver function

mpu6500 link driver modules More...

Collaboration diagram for mpu6500 link driver function:

Macros

#define DRIVER_MPU6500_LINK_INIT(HANDLE, STRUCTURE)
 initialize mpu6500_handle_t structure
#define DRIVER_MPU6500_LINK_IIC_INIT(HANDLE, FUC)
 link iic_init function
#define DRIVER_MPU6500_LINK_IIC_DEINIT(HANDLE, FUC)
 link iic_deinit function
#define DRIVER_MPU6500_LINK_IIC_READ(HANDLE, FUC)
 link iic_read function
#define DRIVER_MPU6500_LINK_IIC_WRITE(HANDLE, FUC)
 link iic_write function
#define DRIVER_MPU6500_LINK_SPI_INIT(HANDLE, FUC)
 link spi_init function
#define DRIVER_MPU6500_LINK_SPI_DEINIT(HANDLE, FUC)
 link spi_deinit function
#define DRIVER_MPU6500_LINK_SPI_READ(HANDLE, FUC)
 link spi_read function
#define DRIVER_MPU6500_LINK_SPI_WRITE(HANDLE, FUC)
 link spi_write function
#define DRIVER_MPU6500_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_MPU6500_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function
#define DRIVER_MPU6500_LINK_RECEIVE_CALLBACK(HANDLE, FUC)
 link receive_callback function

Detailed Description

mpu6500 link driver modules

Macro Definition Documentation

◆ DRIVER_MPU6500_LINK_DEBUG_PRINT

#define DRIVER_MPU6500_LINK_DEBUG_PRINT ( HANDLE,
FUC )
Value:
(HANDLE)->debug_print = FUC

link debug_print function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to a debug_print function address
Note
none

Definition at line 588 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_DELAY_MS

#define DRIVER_MPU6500_LINK_DELAY_MS ( HANDLE,
FUC )
Value:
(HANDLE)->delay_ms = FUC

link delay_ms function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to a delay_ms function address
Note
none

Definition at line 580 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_IIC_DEINIT

#define DRIVER_MPU6500_LINK_IIC_DEINIT ( HANDLE,
FUC )
Value:
(HANDLE)->iic_deinit = FUC

link iic_deinit function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to an iic_deinit function address
Note
none

Definition at line 524 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_IIC_INIT

#define DRIVER_MPU6500_LINK_IIC_INIT ( HANDLE,
FUC )
Value:
(HANDLE)->iic_init = FUC

link iic_init function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to an iic_init function address
Note
none

Definition at line 516 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_IIC_READ

#define DRIVER_MPU6500_LINK_IIC_READ ( HANDLE,
FUC )
Value:
(HANDLE)->iic_read = FUC

link iic_read function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to an iic_read function address
Note
none

Definition at line 532 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_IIC_WRITE

#define DRIVER_MPU6500_LINK_IIC_WRITE ( HANDLE,
FUC )
Value:
(HANDLE)->iic_write = FUC

link iic_write function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to an iic_write function address
Note
none

Definition at line 540 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_INIT

#define DRIVER_MPU6500_LINK_INIT ( HANDLE,
STRUCTURE )
Value:
memset(HANDLE, 0, sizeof(STRUCTURE))

initialize mpu6500_handle_t structure

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]STRUCTUREmpu6500_handle_t
Note
none

Definition at line 508 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_RECEIVE_CALLBACK

#define DRIVER_MPU6500_LINK_RECEIVE_CALLBACK ( HANDLE,
FUC )
Value:
(HANDLE)->receive_callback = FUC

link receive_callback function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to a receive_callback function address
Note
none

Definition at line 596 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_SPI_DEINIT

#define DRIVER_MPU6500_LINK_SPI_DEINIT ( HANDLE,
FUC )
Value:
(HANDLE)->spi_deinit = FUC

link spi_deinit function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to a spi_deinit function address
Note
none

Definition at line 556 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_SPI_INIT

#define DRIVER_MPU6500_LINK_SPI_INIT ( HANDLE,
FUC )
Value:
(HANDLE)->spi_init = FUC

link spi_init function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to a spi_init function address
Note
none

Definition at line 548 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_SPI_READ

#define DRIVER_MPU6500_LINK_SPI_READ ( HANDLE,
FUC )
Value:
(HANDLE)->spi_read = FUC

link spi_read function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to a spi_read function address
Note
none

Definition at line 564 of file driver_mpu6500.h.

◆ DRIVER_MPU6500_LINK_SPI_WRITE

#define DRIVER_MPU6500_LINK_SPI_WRITE ( HANDLE,
FUC )
Value:
(HANDLE)->spi_write = FUC

link spi_write function

Parameters
[in]HANDLEpointer to an mpu6500 handle structure
[in]FUCpointer to a spi_write function address
Note
none

Definition at line 572 of file driver_mpu6500.h.