PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Definition of i2c frames. More...
#include <inttypes.h>
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 |
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.
Definition in file i2c_frame.h.
#define I2C_FRAME_SIZE (sizeof(i2c_frame)) |
Definition at line 63 of file i2c_frame.h.
Referenced by PX4FLOW::collect(), and PX4FLOW::probe().
#define I2C_INTEGRAL_FRAME_SIZE (sizeof(i2c_integral_frame)) |
Definition at line 80 of file i2c_frame.h.
Referenced by PX4FLOW::collect().
typedef struct i2c_integral_frame i2c_integral_frame |