STC3115 Arduino I2C Driver
STC3115 Gas Gauge I2C Driver for Arduino
Main Page
Classes
Files
File List
All
Classes
Functions
src
STC3115_registers.h
1
#ifndef STC3115_REGISTER_H
2
#define STC3115_REGISTER_H
3
4
#define STC3115_REG_MODE 0x00
5
#define STC3115_REG_CTRL 0x01
6
#define STC3115_REG_SOC_L 0x02
7
#define STC3115_REG_SOC_H 0x03
8
#define STC3115_REG_COUNTER_L 0x04
9
#define STC3115_REG_COUNTER_H 0x05
10
#define STC3115_REG_CURRENT_L 0x06
11
#define STC3115_REG_CURRENT_H 0x07
12
#define STC3115_REG_VOLTAGE_L 0x08
13
#define STC3115_REG_VOLTAGE_H 0x09
14
#define STC3115_REG_TEMPERATURE 0x0A
15
#define STC3115_REG_CC_ADJ_HIGH 0x0B
16
#define STC3115_REG_VM_ADJ_HIGH 0x0C
17
#define STC3115_REG_OCV_L 0x0D
18
#define STC3115_REG_OCV_H 0x0E
19
#define STC3115_REG_CC_CNF_L 0x0F
20
#define STC3115_REG_CC_CNF_H 0x10
21
#define STC3115_REG_VM_CNF_L 0x11
22
#define STC3115_REG_VM_CNF_H 0x12
23
#define STC3115_REG_ALARM_SOC 0x13
24
#define STC3115_REG_ALARM_VOLTAGE 0x14
25
#define STC3115_REG_CURRENT_THRES 0x15
26
#define STC3115_REG_RELAX_COUNT 0x16
27
#define STC3115_REG_RELAX_MAX 0x17
28
#define STC3115_REG_ID 0x18
29
#define STC3115_REG_CC_ADJ_LOW 0x19
30
#define STC3115_REG_VM_ADJ_LOW 0x1A
31
#define STC3115_ACC_CC_ADJ_L 0x1B
32
#define STC3115_ACC_CC_ADJ_H 0x1C
33
#define STC3115_ACC_VM_ADJ_L 0x1D
34
#define STC3115_ACC_VM_ADJ_H 0x1E
35
#define STC3115_REG_RAM0 0x20
36
#define STC3115_REG_RAM1 0x21
37
#define STC3115_REG_RAM2 0x22
38
#define STC3115_REG_RAM3 0x23
39
#define STC3115_REG_RAM4 0x24
40
#define STC3115_REG_RAM5 0x25
41
#define STC3115_REG_RAM6 0x26
42
#define STC3115_REG_RAM7 0x27
43
#define STC3115_REG_RAM8 0x28
44
#define STC3115_REG_RAM9 0x29
45
#define STC3115_REG_RAM10 0x2A
46
#define STC3115_REG_RAM11 0x2B
47
#define STC3115_REG_RAM12 0x2C
48
#define STC3115_REG_RAM13 0x2D
49
#define STC3115_REG_RAM14 0x2E
50
#define STC3115_REG_RAM15 0x2F
51
#define STC3115_REG_OCVTAB0 0x30
52
#define STC3115_REG_OCVTAB1 0x31
53
#define STC3115_REG_OCVTAB2 0x32
54
#define STC3115_REG_OCVTAB3 0x33
55
#define STC3115_REG_OCVTAB4 0x34
56
#define STC3115_REG_OCVTAB5 0x35
57
#define STC3115_REG_OCVTAB6 0x36
58
#define STC3115_REG_OCVTAB7 0x37
59
#define STC3115_REG_OCVTAB8 0x38
60
#define STC3115_REG_OCVTAB9 0x39
61
#define STC3115_REG_OCVTAB10 0x3A
62
#define STC3115_REG_OCVTAB11 0x3B
63
#define STC3115_REG_OCVTAB12 0x3C
64
#define STC3115_REG_OCVTAB13 0x3D
65
#define STC3115_REG_OCVTAB14 0x3E
66
#define STC3115_REG_OCVTAB15 0x3F
67
68
#endif
Generated on Fri Nov 17 2017 17:07:11 for STC3115 Arduino I2C Driver by
1.8.6