MAV'RIC
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes
PX4Flow_i2c Class Reference
Inheritance diagram for PX4Flow_i2c:
Inheritance graph
[legend]
Collaboration diagram for PX4Flow_i2c:
Collaboration graph
[legend]

List of all members.

Classes

struct  conf_t
 Configuration. More...

Public Member Functions

 PX4Flow_i2c (I2c &i2c, conf_t config=default_config())
 Constructor.
bool update (void)
 Main update function.

Static Public Member Functions

static conf_t default_config (void)
 Default configuration.

Static Public Attributes

static const uint8_t GET_FRAME_COMMAND = 0x0
 Command to receive 22 bytes i2c frame.
static const uint8_t GET_INTEGRAL_FRAME_COMMAND = 0x16
 Command to receive 25 bytes i2c integral frame.

Protected Attributes

I2ci2c_
 reference to I2C
conf_t config_
 Configuration.

Member Function Documentation

PX4Flow_i2c::conf_t PX4Flow_i2c::default_config ( void  ) [inline, static]

Default configuration.

Returns:
Configuration structure
bool PX4Flow_i2c::update ( void  ) [virtual]

Main update function.

Returns:
success

Implements PX4Flow.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines