MCPcopy Create free account

hub / github.com/adafruit/Adafruit_INA219 / functions

Functions17 in github.com/adafruit/Adafruit_INA219

MethodAdafruit_INA219
! * @brief Instantiates a new INA219 class * @param addr the I2C address the device can be found on. Default is 0x40 */
Adafruit_INA219.cpp:37
Methodbegin
! * @brief Sets up the HW (defaults to 32V and 2A for calibration values) * @param theWire the TwoWire object to use * @return true: success fa
Adafruit_INA219.cpp:53
MethodgetBusVoltage_V
! * @brief Gets the shunt voltage in volts * @return the bus voltage converted to volts */
Adafruit_INA219.cpp:158
MethodgetBusVoltage_raw
! * @brief Gets the raw bus voltage (16-bit signed integer, so +-32767) * @return the raw bus voltage reading */
Adafruit_INA219.cpp:77
MethodgetCurrent_mA
! * @brief Gets the current value in mA, taking into account the * config settings and current LSB * @return the current reading conver
Adafruit_INA219.cpp:168
MethodgetCurrent_raw
! * @brief Gets the raw current value (16-bit signed integer, so +-32767) * @return the raw current reading */
Adafruit_INA219.cpp:104
MethodgetPower_mW
! * @brief Gets the power value in mW, taking into account the * config settings and current LSB * @return power reading converted to m
Adafruit_INA219.cpp:179
MethodgetPower_raw
! * @brief Gets the raw power value (16-bit signed integer, so +-32767) * @return raw power reading */
Adafruit_INA219.cpp:126
MethodgetShuntVoltage_mV
! * @brief Gets the shunt voltage in mV (so +-327mV) * @return the shunt voltage converted to millivolts */
Adafruit_INA219.cpp:148
MethodgetShuntVoltage_raw
! * @brief Gets the raw shunt voltage (16-bit signed integer, so +-32767) * @return the raw shunt voltage reading */
Adafruit_INA219.cpp:92
Methodinit
! * @brief begin I2C and set up the hardware */
Adafruit_INA219.cpp:68
MethodpowerSave
! * @brief Set power save mode according to parameters * @param on * boolean value */
Adafruit_INA219.cpp:280
MethodsetCalibration_16V_400mA
! * @brief set device to alibration which uses the highest precision for * current measurement (0.1mA), at the expense of * only supportin
Adafruit_INA219.cpp:391
MethodsetCalibration_32V_1A
! * @brief Configures to INA219 to be able to measure up to 32V and 1A * of current. Each unit of current corresponds to 40uA, and each
Adafruit_INA219.cpp:300
MethodsetCalibration_32V_2A
! * @brief Configures to INA219 to be able to measure up to 32V and 2A * of current. Each unit of current corresponds to 100uA, and *
Adafruit_INA219.cpp:192
Methodsuccess
! * @brief Provides the the underlying return value from the last operation * called on the device. * @return true: Last operation was
Adafruit_INA219.cpp:486
Method~Adafruit_INA219
! * @brief INA219 class destructor */
Adafruit_INA219.cpp:46