forked from wollewald/INA219_WE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keywords.txt
65 lines (57 loc) · 1.36 KB
/
keywords.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#######################################
# Syntax Coloring Map For INA219_WE
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
INA219_WE KEYWORD1
# ENUM TYPES
INA219_ADC_MODE KEYWORD1
INA219_MEASURE_MODE KEYWORD1
INA219_PGAIN KEYWORD1
INA219_BUS_RANGE KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
reset_INA219 KEYWORD2
init KEYWORD2
setCorrectionFactor KEYWORD2
setADCMode KEYWORD2
setMeasureMode KEYWORD2
setPGain KEYWORD2
setBusRange KEYWORD2
setShuntSizeInOhms KEYWORD2
getShuntVoltage_mV KEYWORD2
getBusVoltage KEYWORD2
getCurrent_mA KEYWORD2
getBusPower KEYWORD2
getOverflow KEYWORD2
startSingleMeasurement KEYWORD2
powerDown KEYWORD2
powerUp KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
# ENUM VALUES
BIT_MODE_9 LITERAL1
BIT_MODE_10 LITERAL1
BIT_MODE_11 LITERAL1
BIT_MODE_12 LITERAL1
SAMPLE_MODE_2 LITERAL1
SAMPLE_MODE_4 LITERAL1
SAMPLE_MODE_8 LITERAL1
SAMPLE_MODE_16 LITERAL1
SAMPLE_MODE_32 LITERAL1
SAMPLE_MODE_64 LITERAL1
SAMPLE_MODE_128 LITERAL1
POWER_DOWN LITERAL1
TRIGGERED LITERAL1
ADC_OFF LITERAL1
CONTINUOUS LITERAL1
CONTINOUS LITERAL1
PG_40 LITERAL1
PG_80 LITERAL1
PG_160 LITERAL1
PG_320 LITERAL1
BRNG_16 LITERAL1
BRNG_32 LITERAL1