2015-02-03 07:10:56 +01:00
|
|
|
# About
|
2019-04-04 11:05:26 +02:00
|
|
|
This is a manual test application for the INA219/INA220 current and power
|
2019-04-01 16:50:28 +02:00
|
|
|
monitor driver.
|
2015-02-03 07:10:56 +01:00
|
|
|
|
|
|
|
# Usage
|
2019-04-04 11:05:26 +02:00
|
|
|
This test application will initialize the sensor with the default parameters
|
|
|
|
in @ref ina2xx_params.h
|
2015-02-03 07:10:56 +01:00
|
|
|
|
2019-04-04 11:05:26 +02:00
|
|
|
After initialization, the application will print a table of the devices
|
|
|
|
measurement data. If the I2C interface is fast enough, one row corresponds to
|
|
|
|
one measurement of the device. (The sensor indicates when a new measurement is
|
|
|
|
available via flags, this flags are read until the measurement is done. The
|
|
|
|
duration of one measurement depends on the sensor settings and is between
|
|
|
|
84µs and 68.1ms. Please note that blocking stdio might very well be the
|
|
|
|
bottleneck causing the test to miss measurements.)
|