Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_INA219
/ functions
Functions
17 in github.com/adafruit/Adafruit_INA219
⨍
Functions
17
◇
Types & classes
1
Method
Adafruit_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
Method
begin
! * @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
Method
getBusVoltage_V
! * @brief Gets the shunt voltage in volts * @return the bus voltage converted to volts */
Adafruit_INA219.cpp:158
Method
getBusVoltage_raw
! * @brief Gets the raw bus voltage (16-bit signed integer, so +-32767) * @return the raw bus voltage reading */
Adafruit_INA219.cpp:77
Method
getCurrent_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
Method
getCurrent_raw
! * @brief Gets the raw current value (16-bit signed integer, so +-32767) * @return the raw current reading */
Adafruit_INA219.cpp:104
Method
getPower_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
Method
getPower_raw
! * @brief Gets the raw power value (16-bit signed integer, so +-32767) * @return raw power reading */
Adafruit_INA219.cpp:126
Method
getShuntVoltage_mV
! * @brief Gets the shunt voltage in mV (so +-327mV) * @return the shunt voltage converted to millivolts */
Adafruit_INA219.cpp:148
Method
getShuntVoltage_raw
! * @brief Gets the raw shunt voltage (16-bit signed integer, so +-32767) * @return the raw shunt voltage reading */
Adafruit_INA219.cpp:92
Method
init
! * @brief begin I2C and set up the hardware */
Adafruit_INA219.cpp:68
Method
powerSave
! * @brief Set power save mode according to parameters * @param on * boolean value */
Adafruit_INA219.cpp:280
Method
setCalibration_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
Method
setCalibration_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
Method
setCalibration_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
Method
success
! * @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