|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Simple tool to scan an I2C bus. More...
#include <px4_platform_common/px4_config.h>#include <px4_platform_common/log.h>#include <px4_platform_common/module.h>#include <px4_platform_common/getopt.h>#include <px4_platform_common/i2c.h>Go to the source code of this file.
Namespaces | |
| i2cdetect | |
Functions | |
| int | i2cdetect::detect (int bus) |
| int | i2cdetect::usage (const char *reason=nullptr) |
| Print the correct usage. More... | |
| __EXPORT int | i2cdetect_main (int argc, char *argv[]) |
Simple tool to scan an I2C bus.
Definition in file i2cdetect.cpp.
| int i2cdetect_main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 150 of file i2cdetect.cpp.
References i2cdetect::detect(), and i2cdetect::usage().
Referenced by i2cdetect::usage().