vcpmonitor 2.0.0.0
Configuration register

Macros

#define VCPMONITOR_CFG_RESET_ON   0x8000
 
#define VCPMONITOR_CFG_RESET_OFF   0x0000
 
#define VCPMONITOR_CFG_NUM_OF_AVG_1   0x0000
 
#define VCPMONITOR_CFG_NUM_OF_AVG_4   0x0200
 
#define VCPMONITOR_CFG_NUM_OF_AVG_16   0x0400
 
#define VCPMONITOR_CFG_NUM_OF_AVG_64   0x0600
 
#define VCPMONITOR_CFG_NUM_OF_AVG_128   0x0800
 
#define VCPMONITOR_CFG_NUM_OF_AVG_256   0x0A00
 
#define VCPMONITOR_CFG_NUM_OF_AVG_512   0x0C00
 
#define VCPMONITOR_CFG_NUM_OF_AVG_1024   0x0E00
 
#define VCPMONITOR_CFG_VBUSCT_140us   0x0000
 
#define VCPMONITOR_CFG_VBUSCT_204us   0x0040
 
#define VCPMONITOR_CFG_VBUSCT_332us   0x0080
 
#define VCPMONITOR_CFG_VBUSCT_588us   0x00C0
 
#define VCPMONITOR_CFG_VBUSCT_1p1ms   0x0100
 
#define VCPMONITOR_CFG_VBUSCT_2p116ms   0x0140
 
#define VCPMONITOR_CFG_VBUSCT_4p156ms   0x0180
 
#define VCPMONITOR_CFG_VBUSCT_8p244ms   0x01C0
 
#define VCPMONITOR_CFG_ISHCT_140us   0x0000
 
#define VCPMONITOR_CFG_ISHCT_204us   0x0008
 
#define VCPMONITOR_CFG_ISHCT_332us   0x0010
 
#define VCPMONITOR_CFG_ISHCT_588us   0x0018
 
#define VCPMONITOR_CFG_ISHCT_1p1ms   0x0020
 
#define VCPMONITOR_CFG_ISHCT_2p116ms   0x0028
 
#define VCPMONITOR_CFG_ISHCT_4p156ms   0x0030
 
#define VCPMONITOR_CFG_ISHCT_8p244ms   0x0038
 
#define VCPMONITOR_CFG_MODE_POWER_DOWN   0x0000
 
#define VCPMONITOR_CFG_MODE_CURRENT_TRIG   0x0001
 
#define VCPMONITOR_CFG_MODE_VOLTAGE_TRIG   0x0002
 
#define VCPMONITOR_CFG_MODE_CURR_VOLT_TRIG   0x0003
 
#define VCPMONITOR_CFG_MODE_CURRENT_CONT   0x0005
 
#define VCPMONITOR_CFG_MODE_VOLTAGE_CONT   0x0006
 
#define VCPMONITOR_CFG_MODE_CURR_VOLT_CONT   0x0007
 

Detailed Description

Macro Definition Documentation

◆ VCPMONITOR_CFG_ISHCT_140us

#define VCPMONITOR_CFG_ISHCT_140us   0x0000

◆ VCPMONITOR_CFG_ISHCT_1p1ms

#define VCPMONITOR_CFG_ISHCT_1p1ms   0x0020

◆ VCPMONITOR_CFG_ISHCT_204us

#define VCPMONITOR_CFG_ISHCT_204us   0x0008

◆ VCPMONITOR_CFG_ISHCT_2p116ms

#define VCPMONITOR_CFG_ISHCT_2p116ms   0x0028

◆ VCPMONITOR_CFG_ISHCT_332us

#define VCPMONITOR_CFG_ISHCT_332us   0x0010

◆ VCPMONITOR_CFG_ISHCT_4p156ms

#define VCPMONITOR_CFG_ISHCT_4p156ms   0x0030

◆ VCPMONITOR_CFG_ISHCT_588us

#define VCPMONITOR_CFG_ISHCT_588us   0x0018

◆ VCPMONITOR_CFG_ISHCT_8p244ms

#define VCPMONITOR_CFG_ISHCT_8p244ms   0x0038

◆ VCPMONITOR_CFG_MODE_CURR_VOLT_CONT

#define VCPMONITOR_CFG_MODE_CURR_VOLT_CONT   0x0007

◆ VCPMONITOR_CFG_MODE_CURR_VOLT_TRIG

#define VCPMONITOR_CFG_MODE_CURR_VOLT_TRIG   0x0003

◆ VCPMONITOR_CFG_MODE_CURRENT_CONT

#define VCPMONITOR_CFG_MODE_CURRENT_CONT   0x0005

◆ VCPMONITOR_CFG_MODE_CURRENT_TRIG

#define VCPMONITOR_CFG_MODE_CURRENT_TRIG   0x0001

◆ VCPMONITOR_CFG_MODE_POWER_DOWN

#define VCPMONITOR_CFG_MODE_POWER_DOWN   0x0000

◆ VCPMONITOR_CFG_MODE_VOLTAGE_CONT

#define VCPMONITOR_CFG_MODE_VOLTAGE_CONT   0x0006

◆ VCPMONITOR_CFG_MODE_VOLTAGE_TRIG

#define VCPMONITOR_CFG_MODE_VOLTAGE_TRIG   0x0002

◆ VCPMONITOR_CFG_NUM_OF_AVG_1

#define VCPMONITOR_CFG_NUM_OF_AVG_1   0x0000

◆ VCPMONITOR_CFG_NUM_OF_AVG_1024

#define VCPMONITOR_CFG_NUM_OF_AVG_1024   0x0E00

◆ VCPMONITOR_CFG_NUM_OF_AVG_128

#define VCPMONITOR_CFG_NUM_OF_AVG_128   0x0800

◆ VCPMONITOR_CFG_NUM_OF_AVG_16

#define VCPMONITOR_CFG_NUM_OF_AVG_16   0x0400

◆ VCPMONITOR_CFG_NUM_OF_AVG_256

#define VCPMONITOR_CFG_NUM_OF_AVG_256   0x0A00

◆ VCPMONITOR_CFG_NUM_OF_AVG_4

#define VCPMONITOR_CFG_NUM_OF_AVG_4   0x0200

◆ VCPMONITOR_CFG_NUM_OF_AVG_512

#define VCPMONITOR_CFG_NUM_OF_AVG_512   0x0C00

◆ VCPMONITOR_CFG_NUM_OF_AVG_64

#define VCPMONITOR_CFG_NUM_OF_AVG_64   0x0600

◆ VCPMONITOR_CFG_RESET_OFF

#define VCPMONITOR_CFG_RESET_OFF   0x0000

◆ VCPMONITOR_CFG_RESET_ON

#define VCPMONITOR_CFG_RESET_ON   0x8000

◆ VCPMONITOR_CFG_VBUSCT_140us

#define VCPMONITOR_CFG_VBUSCT_140us   0x0000

◆ VCPMONITOR_CFG_VBUSCT_1p1ms

#define VCPMONITOR_CFG_VBUSCT_1p1ms   0x0100

◆ VCPMONITOR_CFG_VBUSCT_204us

#define VCPMONITOR_CFG_VBUSCT_204us   0x0040

◆ VCPMONITOR_CFG_VBUSCT_2p116ms

#define VCPMONITOR_CFG_VBUSCT_2p116ms   0x0140

◆ VCPMONITOR_CFG_VBUSCT_332us

#define VCPMONITOR_CFG_VBUSCT_332us   0x0080

◆ VCPMONITOR_CFG_VBUSCT_4p156ms

#define VCPMONITOR_CFG_VBUSCT_4p156ms   0x0180

◆ VCPMONITOR_CFG_VBUSCT_588us

#define VCPMONITOR_CFG_VBUSCT_588us   0x00C0

◆ VCPMONITOR_CFG_VBUSCT_8p244ms

#define VCPMONITOR_CFG_VBUSCT_8p244ms   0x01C0