MAV'RIC
|
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 | |
I2c & | i2c_ |
reference to I2C | |
conf_t | config_ |
Configuration. |
PX4Flow_i2c::conf_t PX4Flow_i2c::default_config | ( | void | ) | [inline, static] |
Default configuration.
bool PX4Flow_i2c::update | ( | void | ) | [virtual] |