PX4 Firmware
PX4 Autopilot Software http://px4.io
LPS25H_I2C Class Reference
Inheritance diagram for LPS25H_I2C:
Collaboration diagram for LPS25H_I2C:

Public Member Functions

 LPS25H_I2C (int bus)
 
virtual ~LPS25H_I2C ()=default
 
virtual int read (unsigned address, void *data, unsigned count)
 
virtual int write (unsigned address, void *data, unsigned count)
 
virtual int ioctl (unsigned operation, unsigned &arg)
 

Protected Member Functions

virtual int probe ()
 

Detailed Description

Definition at line 46 of file lps25h_i2c.cpp.

Constructor & Destructor Documentation

◆ LPS25H_I2C()

LPS25H_I2C::LPS25H_I2C ( int  bus)

Definition at line 68 of file lps25h_i2c.cpp.

Referenced by LPS25H_I2C_interface().

Here is the caller graph for this function:

◆ ~LPS25H_I2C()

virtual LPS25H_I2C::~LPS25H_I2C ( )
virtualdefault

Member Function Documentation

◆ ioctl()

int LPS25H_I2C::ioctl ( unsigned  operation,
unsigned &  arg 
)
virtual

Definition at line 74 of file lps25h_i2c.cpp.

◆ probe()

int LPS25H_I2C::probe ( )
protectedvirtual

Definition at line 91 of file lps25h_i2c.cpp.

References ADDR_WHO_AM_I, DEVICE_DEBUG, ID_WHO_AM_I, OK, and read().

Here is the call graph for this function:

◆ read()

int LPS25H_I2C::read ( unsigned  address,
void *  data,
unsigned  count 
)
virtual

Definition at line 128 of file lps25h_i2c.cpp.

Referenced by probe().

Here is the caller graph for this function:

◆ write()

int LPS25H_I2C::write ( unsigned  address,
void *  data,
unsigned  count 
)
virtual

Definition at line 113 of file lps25h_i2c.cpp.


The documentation for this class was generated from the following file: