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

Definition of i2c frames. More...

#include <inttypes.h>
Include dependency graph for i2c_frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  i2c_frame
 
struct  i2c_integral_frame
 

Macros

#define I2C_FRAME_SIZE   (sizeof(i2c_frame))
 
#define I2C_INTEGRAL_FRAME_SIZE   (sizeof(i2c_integral_frame))
 

Typedefs

typedef struct i2c_frame i2c_frame
 
typedef struct i2c_integral_frame i2c_integral_frame
 

Detailed Description

Definition of i2c frames.

There are different I2C readouts available: i2c_frame and i2c_integral_frame. The ic2_frame can be requested via the register 0x0, the i2c_integral_frame via 0x16.

Author
Thomas Boehm thoma.nosp@m.s.bo.nosp@m.ehm@f.nosp@m.orti.nosp@m.ss.or.nosp@m.g
James Goppert james.nosp@m..gop.nosp@m.pert@.nosp@m.gmai.nosp@m.l.com

Definition in file i2c_frame.h.

Macro Definition Documentation

◆ I2C_FRAME_SIZE

#define I2C_FRAME_SIZE   (sizeof(i2c_frame))

Definition at line 63 of file i2c_frame.h.

Referenced by PX4FLOW::collect(), and PX4FLOW::probe().

◆ I2C_INTEGRAL_FRAME_SIZE

#define I2C_INTEGRAL_FRAME_SIZE   (sizeof(i2c_integral_frame))

Definition at line 80 of file i2c_frame.h.

Referenced by PX4FLOW::collect().

Typedef Documentation

◆ i2c_frame

typedef struct i2c_frame i2c_frame

◆ i2c_integral_frame