SELKIELogger  1.0.0
INA219: Configuration values
Collaboration diagram for INA219: Configuration values:

Classes

struct  i2c_ina219_options
 

Macros

#define INA219_CONFIG_DEF   0x3DDF
 Default sensor configuration for this library. More...
 
#define INA219_CONFIG_RESET   0x8000
 
#define I2C_INA219_DEFAULTS    { .scale = 1.0, .offset = 0.0, .min = -INFINITY, .max = INFINITY }
 

Detailed Description

Macro Definition Documentation

◆ INA219_CONFIG_DEF

#define INA219_CONFIG_DEF   0x3DDF

Default sensor configuration for this library.

Sets the following options:

  • 32V measurement range
  • 320mV Shunt voltage range
  • 12 bit ADC resolution
  • Average over 8 samples
  • Sample continuously

Definition at line 78 of file I2C-INA219.h.

◆ INA219_CONFIG_RESET

#define INA219_CONFIG_RESET   0x8000

Set the device reset bit in the configuration register

Definition at line 83 of file I2C-INA219.h.