![]() |
SparkFun INA2XX Arduino Library
v1.0.0-3-gc9007d6
Arduino Library for the SparkFun Qwiic Power Monitor (INA228 / INA237)
|
Bitfield union for the 16-bit ADC_CONFIG register (0x01). More...
#include <sfDevINA2XX.h>
Public Attributes | |
| struct { | |
| uint16_t avg: 3 | |
| ADC sample averaging count (see sfe_ina2xx_avg_count_t) [bits 2:0]. More... | |
| uint16_t vtct: 3 | |
| Temperature conversion time (see sfe_ina2xx_conv_time_t) [bits 5:3]. More... | |
| uint16_t vshct: 3 | |
| Shunt voltage conversion time [bits 8:6]. More... | |
| uint16_t vbusct: 3 | |
| Bus voltage conversion time [bits 11:9]. More... | |
| uint16_t mode: 4 | |
| Operating mode (see sfe_ina2xx_mode_t) [bits 15:12]. More... | |
| }; | |
| uint16_t | word |
| Raw register value for I2C read/write. More... | |
Bitfield union for the 16-bit ADC_CONFIG register (0x01).
| struct { ... } sfe_ina2xx_adc_config_reg_t::@3 |
| uint16_t sfe_ina2xx_adc_config_reg_t::avg |
ADC sample averaging count (see sfe_ina2xx_avg_count_t) [bits 2:0].
| uint16_t sfe_ina2xx_adc_config_reg_t::mode |
Operating mode (see sfe_ina2xx_mode_t) [bits 15:12].
| uint16_t sfe_ina2xx_adc_config_reg_t::vbusct |
Bus voltage conversion time [bits 11:9].
| uint16_t sfe_ina2xx_adc_config_reg_t::vshct |
Shunt voltage conversion time [bits 8:6].
| uint16_t sfe_ina2xx_adc_config_reg_t::vtct |
Temperature conversion time (see sfe_ina2xx_conv_time_t) [bits 5:3].
| uint16_t sfe_ina2xx_adc_config_reg_t::word |
Raw register value for I2C read/write.