powermonitor 2.0.0.0
Power Monitor Registers Settings

Settings for registers of Power Monitor Click driver. More...

Macros

#define POWERMONITOR_RST_RESET_BIT   0x80
 Power Monitor description setting.
 
#define POWERMONITOR_RSTACC_NORMAL_OPERATION   0x00
 
#define POWERMONITOR_RSTACC_CLEARS_ENERGY_CHARGE_REG   0x01
 
#define POWERMONITOR_CONVDLY_0_s   0x00
 
#define POWERMONITOR_TEMPCOMP_DISABLED   0x00
 
#define POWERMONITOR_TEMPCOMP_ENABLED   0x01
 
#define POWERMONITOR_ADCRANGE_163_84_mV   0x00
 
#define POWERMONITOR_ADCRANGE_40_96_mV   0x01
 
#define POWERMONITOR_MODE_SINGLE_SHOT_SHUTDOWN   0x00
 
#define POWERMONITOR_MODE_SINGLE_SHOT_BUS_VOLTAGE   0x01
 
#define POWERMONITOR_MODE_SINGLE_SHOT_BUS_VTG   0x01
 
#define POWERMONITOR_MODE_SINGLE_SHOT_SHUNT_VTG   0x02
 
#define POWERMONITOR_MODE_SINGLE_SHOT_SHUNT_BUS_VTG   0x03
 
#define POWERMONITOR_MODE_SINGLE_TEMPERATURE   0x04
 
#define POWERMONITOR_MODE_SINGLE_SHOT_TEMP_BUS_VTG   0x05
 
#define POWERMONITOR_MODE_SINGLE_SHOT_TEMP_SHUNT_VTG   0x06
 
#define POWERMONITOR_MODE_SINGLE_SHOT_TEMP_SHUNT_BUS_VTG   0x07
 
#define POWERMONITOR_MODE_CONTINUOUS_SHOT_BUS_VOLTAGE   0x08
 
#define POWERMONITOR_MODE_CONTINUOUS_SHOT_BUS_VTG   0x09
 
#define POWERMONITOR_MODE_CONTINUOUS_SHOT_SHUNT_VTG   0x0A
 
#define POWERMONITOR_MODE_CONTINUOUS_SHOT_SHUNT_BUS_VTG   0x0B
 
#define POWERMONITOR_MODE_CONTINUOUS_TEMPERATURE   0x0C
 
#define POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_BUS_VTG   0x0D
 
#define POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_SHUNT_VTG   0x0E
 
#define POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_SHUNT_BUS_VTG   0x0F
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_50_nS   0x00
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_84_nS   0x01
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_150_nS   0x02
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_280_nS   0x03
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_540_nS   0x04
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_1052_nS   0x05
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_2074_nS   0x06
 
#define POWERMONITOR_VBUSCT_CONVERSION_TIME_4120_nS   0x07
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_50_nS   0x00
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_84_nS   0x01
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_150_nS   0x02
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_280_nS   0x03
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_540_nS   0x04
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_1052_nS   0x05
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_2074_nS   0x06
 
#define POWERMONITOR_VSHCT_CONVERSION_TIME_4120_nS   0x07
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_50_nS   0x00
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_84_nS   0x01
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_150_nS   0x02
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_280_nS   0x03
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_540_nS   0x04
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_1052_nS   0x05
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_2074_nS   0x06
 
#define POWERMONITOR_VTCT_CONVERSION_TIME_4120_nS   0x07
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_1   0x00
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_4   0x01
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_16   0x02
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_64   0x03
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_128   0x04
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_256   0x05
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_512   0x06
 
#define POWERMONITOR_AVG_AVERAGING_COUNT_1024   0x07
 
#define POWERMONITOR_SET_DEV_ADDR_GND_GND   0x40
 Power Monitor device address setting.
 
#define POWERMONITOR_SET_DEV_ADDR_GND_VS   0x41
 
#define POWERMONITOR_SET_DEV_ADDR_GND_SDA   0x42
 
#define POWERMONITOR_SET_DEV_ADDR_GND_SCL   0x43
 
#define POWERMONITOR_SET_DEV_ADDR_VS_GND   0x44
 
#define POWERMONITOR_SET_DEV_ADDR_VS_VS   0x45
 
#define POWERMONITOR_SET_DEV_ADDR_VS_SDA   0x46
 
#define POWERMONITOR_SET_DEV_ADDR_VS_SCL   0x47
 
#define POWERMONITOR_SET_DEV_ADDR_SDA_GND   0x48
 
#define POWERMONITOR_SET_DEV_ADDR_SDA_VS   0x49
 
#define POWERMONITOR_SET_DEV_ADDR_SDA_SDA   0x4A
 
#define POWERMONITOR_SET_DEV_ADDR_SDA_SCL   0x4B
 
#define POWERMONITOR_SET_DEV_ADDR_SCL_GND   0x4C
 
#define POWERMONITOR_SET_DEV_ADDR_SCL_VS   0x4D
 
#define POWERMONITOR_SET_DEV_ADDR_SCL_SDA   0x4E
 
#define POWERMONITOR_SET_DEV_ADDR_SCL_SCL   0x4F
 

Detailed Description

Settings for registers of Power Monitor Click driver.

Macro Definition Documentation

◆ POWERMONITOR_ADCRANGE_163_84_mV

#define POWERMONITOR_ADCRANGE_163_84_mV   0x00

◆ POWERMONITOR_ADCRANGE_40_96_mV

#define POWERMONITOR_ADCRANGE_40_96_mV   0x01

◆ POWERMONITOR_AVG_AVERAGING_COUNT_1

#define POWERMONITOR_AVG_AVERAGING_COUNT_1   0x00

◆ POWERMONITOR_AVG_AVERAGING_COUNT_1024

#define POWERMONITOR_AVG_AVERAGING_COUNT_1024   0x07

◆ POWERMONITOR_AVG_AVERAGING_COUNT_128

#define POWERMONITOR_AVG_AVERAGING_COUNT_128   0x04

◆ POWERMONITOR_AVG_AVERAGING_COUNT_16

#define POWERMONITOR_AVG_AVERAGING_COUNT_16   0x02

◆ POWERMONITOR_AVG_AVERAGING_COUNT_256

#define POWERMONITOR_AVG_AVERAGING_COUNT_256   0x05

◆ POWERMONITOR_AVG_AVERAGING_COUNT_4

#define POWERMONITOR_AVG_AVERAGING_COUNT_4   0x01

◆ POWERMONITOR_AVG_AVERAGING_COUNT_512

#define POWERMONITOR_AVG_AVERAGING_COUNT_512   0x06

◆ POWERMONITOR_AVG_AVERAGING_COUNT_64

#define POWERMONITOR_AVG_AVERAGING_COUNT_64   0x03

◆ POWERMONITOR_CONVDLY_0_s

#define POWERMONITOR_CONVDLY_0_s   0x00

◆ POWERMONITOR_MODE_CONTINUOUS_SHOT_BUS_VOLTAGE

#define POWERMONITOR_MODE_CONTINUOUS_SHOT_BUS_VOLTAGE   0x08

◆ POWERMONITOR_MODE_CONTINUOUS_SHOT_BUS_VTG

#define POWERMONITOR_MODE_CONTINUOUS_SHOT_BUS_VTG   0x09

◆ POWERMONITOR_MODE_CONTINUOUS_SHOT_SHUNT_BUS_VTG

#define POWERMONITOR_MODE_CONTINUOUS_SHOT_SHUNT_BUS_VTG   0x0B

◆ POWERMONITOR_MODE_CONTINUOUS_SHOT_SHUNT_VTG

#define POWERMONITOR_MODE_CONTINUOUS_SHOT_SHUNT_VTG   0x0A

◆ POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_BUS_VTG

#define POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_BUS_VTG   0x0D

◆ POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_SHUNT_BUS_VTG

#define POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_SHUNT_BUS_VTG   0x0F

◆ POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_SHUNT_VTG

#define POWERMONITOR_MODE_CONTINUOUS_SHOT_TEMP_SHUNT_VTG   0x0E

◆ POWERMONITOR_MODE_CONTINUOUS_TEMPERATURE

#define POWERMONITOR_MODE_CONTINUOUS_TEMPERATURE   0x0C

◆ POWERMONITOR_MODE_SINGLE_SHOT_BUS_VOLTAGE

#define POWERMONITOR_MODE_SINGLE_SHOT_BUS_VOLTAGE   0x01

◆ POWERMONITOR_MODE_SINGLE_SHOT_BUS_VTG

#define POWERMONITOR_MODE_SINGLE_SHOT_BUS_VTG   0x01

◆ POWERMONITOR_MODE_SINGLE_SHOT_SHUNT_BUS_VTG

#define POWERMONITOR_MODE_SINGLE_SHOT_SHUNT_BUS_VTG   0x03

◆ POWERMONITOR_MODE_SINGLE_SHOT_SHUNT_VTG

#define POWERMONITOR_MODE_SINGLE_SHOT_SHUNT_VTG   0x02

◆ POWERMONITOR_MODE_SINGLE_SHOT_SHUTDOWN

#define POWERMONITOR_MODE_SINGLE_SHOT_SHUTDOWN   0x00

◆ POWERMONITOR_MODE_SINGLE_SHOT_TEMP_BUS_VTG

#define POWERMONITOR_MODE_SINGLE_SHOT_TEMP_BUS_VTG   0x05

◆ POWERMONITOR_MODE_SINGLE_SHOT_TEMP_SHUNT_BUS_VTG

#define POWERMONITOR_MODE_SINGLE_SHOT_TEMP_SHUNT_BUS_VTG   0x07

◆ POWERMONITOR_MODE_SINGLE_SHOT_TEMP_SHUNT_VTG

#define POWERMONITOR_MODE_SINGLE_SHOT_TEMP_SHUNT_VTG   0x06

◆ POWERMONITOR_MODE_SINGLE_TEMPERATURE

#define POWERMONITOR_MODE_SINGLE_TEMPERATURE   0x04

◆ POWERMONITOR_RST_RESET_BIT

#define POWERMONITOR_RST_RESET_BIT   0x80

Power Monitor description setting.

Specified setting for description of Power Monitor Click driver.

◆ POWERMONITOR_RSTACC_CLEARS_ENERGY_CHARGE_REG

#define POWERMONITOR_RSTACC_CLEARS_ENERGY_CHARGE_REG   0x01

◆ POWERMONITOR_RSTACC_NORMAL_OPERATION

#define POWERMONITOR_RSTACC_NORMAL_OPERATION   0x00

◆ POWERMONITOR_SET_DEV_ADDR_GND_GND

#define POWERMONITOR_SET_DEV_ADDR_GND_GND   0x40

Power Monitor device address setting.

Specified setting for device slave address selection of Power Monitor Click driver.

◆ POWERMONITOR_SET_DEV_ADDR_GND_SCL

#define POWERMONITOR_SET_DEV_ADDR_GND_SCL   0x43

◆ POWERMONITOR_SET_DEV_ADDR_GND_SDA

#define POWERMONITOR_SET_DEV_ADDR_GND_SDA   0x42

◆ POWERMONITOR_SET_DEV_ADDR_GND_VS

#define POWERMONITOR_SET_DEV_ADDR_GND_VS   0x41

◆ POWERMONITOR_SET_DEV_ADDR_SCL_GND

#define POWERMONITOR_SET_DEV_ADDR_SCL_GND   0x4C

◆ POWERMONITOR_SET_DEV_ADDR_SCL_SCL

#define POWERMONITOR_SET_DEV_ADDR_SCL_SCL   0x4F

◆ POWERMONITOR_SET_DEV_ADDR_SCL_SDA

#define POWERMONITOR_SET_DEV_ADDR_SCL_SDA   0x4E

◆ POWERMONITOR_SET_DEV_ADDR_SCL_VS

#define POWERMONITOR_SET_DEV_ADDR_SCL_VS   0x4D

◆ POWERMONITOR_SET_DEV_ADDR_SDA_GND

#define POWERMONITOR_SET_DEV_ADDR_SDA_GND   0x48

◆ POWERMONITOR_SET_DEV_ADDR_SDA_SCL

#define POWERMONITOR_SET_DEV_ADDR_SDA_SCL   0x4B

◆ POWERMONITOR_SET_DEV_ADDR_SDA_SDA

#define POWERMONITOR_SET_DEV_ADDR_SDA_SDA   0x4A

◆ POWERMONITOR_SET_DEV_ADDR_SDA_VS

#define POWERMONITOR_SET_DEV_ADDR_SDA_VS   0x49

◆ POWERMONITOR_SET_DEV_ADDR_VS_GND

#define POWERMONITOR_SET_DEV_ADDR_VS_GND   0x44

◆ POWERMONITOR_SET_DEV_ADDR_VS_SCL

#define POWERMONITOR_SET_DEV_ADDR_VS_SCL   0x47

◆ POWERMONITOR_SET_DEV_ADDR_VS_SDA

#define POWERMONITOR_SET_DEV_ADDR_VS_SDA   0x46

◆ POWERMONITOR_SET_DEV_ADDR_VS_VS

#define POWERMONITOR_SET_DEV_ADDR_VS_VS   0x45

◆ POWERMONITOR_TEMPCOMP_DISABLED

#define POWERMONITOR_TEMPCOMP_DISABLED   0x00

◆ POWERMONITOR_TEMPCOMP_ENABLED

#define POWERMONITOR_TEMPCOMP_ENABLED   0x01

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_1052_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_1052_nS   0x05

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_150_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_150_nS   0x02

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_2074_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_2074_nS   0x06

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_280_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_280_nS   0x03

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_4120_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_4120_nS   0x07

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_50_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_50_nS   0x00

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_540_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_540_nS   0x04

◆ POWERMONITOR_VBUSCT_CONVERSION_TIME_84_nS

#define POWERMONITOR_VBUSCT_CONVERSION_TIME_84_nS   0x01

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_1052_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_1052_nS   0x05

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_150_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_150_nS   0x02

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_2074_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_2074_nS   0x06

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_280_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_280_nS   0x03

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_4120_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_4120_nS   0x07

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_50_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_50_nS   0x00

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_540_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_540_nS   0x04

◆ POWERMONITOR_VSHCT_CONVERSION_TIME_84_nS

#define POWERMONITOR_VSHCT_CONVERSION_TIME_84_nS   0x01

◆ POWERMONITOR_VTCT_CONVERSION_TIME_1052_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_1052_nS   0x05

◆ POWERMONITOR_VTCT_CONVERSION_TIME_150_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_150_nS   0x02

◆ POWERMONITOR_VTCT_CONVERSION_TIME_2074_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_2074_nS   0x06

◆ POWERMONITOR_VTCT_CONVERSION_TIME_280_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_280_nS   0x03

◆ POWERMONITOR_VTCT_CONVERSION_TIME_4120_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_4120_nS   0x07

◆ POWERMONITOR_VTCT_CONVERSION_TIME_50_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_50_nS   0x00

◆ POWERMONITOR_VTCT_CONVERSION_TIME_540_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_540_nS   0x04

◆ POWERMONITOR_VTCT_CONVERSION_TIME_84_nS

#define POWERMONITOR_VTCT_CONVERSION_TIME_84_nS   0x01