PX4 Firmware
PX4 Autopilot Software http://px4.io
qmc5883_i2c.cpp File Reference

I2C interface for QMC5883. More...

#include <px4_platform_common/px4_config.h>
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
#include <unistd.h>
#include <arch/board/board.h>
#include <drivers/device/i2c.h>
#include <drivers/drv_mag.h>
#include <drivers/drv_device.h>
#include "qmc5883.h"
#include "board_config.h"
Include dependency graph for qmc5883_i2c.cpp:

Go to the source code of this file.

Classes

class  QMC5883_I2C
 

Macros

#define QMC5883L_ADDRESS   0x0D
 

Functions

device::DeviceQMC5883_I2C_interface (int bus)
 

Detailed Description

I2C interface for QMC5883.

Definition in file qmc5883_i2c.cpp.

Macro Definition Documentation

◆ QMC5883L_ADDRESS

#define QMC5883L_ADDRESS   0x0D

Definition at line 62 of file qmc5883_i2c.cpp.

Function Documentation

◆ QMC5883_I2C_interface()

device::Device* QMC5883_I2C_interface ( int  bus)

Definition at line 83 of file qmc5883_i2c.cpp.

References QMC5883_I2C::QMC5883_I2C().

Here is the call graph for this function: