PX4 Firmware
PX4 Autopilot Software http://px4.io
lps25h.h File Reference

Shared defines for the lps25h driver. More...

#include <string.h>
#include <drivers/device/Device.hpp>
#include <drivers/device/i2c.h>
#include <drivers/device/ringbuffer.h>
#include <drivers/device/spi.h>
#include <drivers/drv_baro.h>
#include <lib/cdev/CDev.hpp>
#include <perf/perf_counter.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
#include <systemlib/err.h>
#include <uORB/uORB.h>
Include dependency graph for lps25h.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADDR_WHO_AM_I   0x0F
 
#define ID_WHO_AM_I   0xBD
 

Typedefs

typedef device::Device *(* LPS25H_constructor) (int)
 

Functions

device::DeviceLPS25H_SPI_interface (int bus)
 
device::DeviceLPS25H_I2C_interface (int bus)
 

Detailed Description

Shared defines for the lps25h driver.

Definition in file lps25h.h.

Macro Definition Documentation

◆ ADDR_WHO_AM_I

#define ADDR_WHO_AM_I   0x0F

Definition at line 57 of file lps25h.h.

◆ ID_WHO_AM_I

#define ID_WHO_AM_I   0xBD

Definition at line 59 of file lps25h.h.

Referenced by LPS25H_I2C::probe().

Typedef Documentation

◆ LPS25H_constructor

typedef device::Device*(* LPS25H_constructor) (int)

Definition at line 64 of file lps25h.h.

Function Documentation

◆ LPS25H_I2C_interface()

device::Device * LPS25H_I2C_interface ( int  bus)

Definition at line 63 of file lps25h_i2c.cpp.

References LPS25H_I2C::LPS25H_I2C().

Here is the call graph for this function:

◆ LPS25H_SPI_interface()

device::Device* LPS25H_SPI_interface ( int  bus)