Firmware
|
Local functions in support of the shell command. More...
Functions | |
int | start (int i2c_bus) |
Start the driver. More... | |
int | stop () |
Stop the driver. More... | |
int | test () |
Perform some basic functional tests on the driver; make sure we can collect data from the sensor in polled and automatic modes. | |
int | reset () |
Reset the driver. More... | |
int | info () |
Print a little info about the driver. More... | |
Variables | |
MEASAirspeedSim * | g_dev = nullptr |
Local functions in support of the shell command.
int meas_airspeed_sim::info | ( | ) |
Print a little info about the driver.
Print a little info about the driver.
int meas_airspeed_sim::reset | ( | ) |
Reset the driver.
Reset the driver.
int meas_airspeed_sim::start | ( | int | i2c_bus | ) |
Start the driver.
This function call only returns once the driver is up and running or failed to detect the sensor.
int meas_airspeed_sim::stop | ( | ) |
Stop the driver.
Stop the driver.