blob: e8a758d4bac279719722b6871073d5405977bf60 (
plain) (
blame)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
|
#######################################
# Syntax Coloring Map For ADS1115_WE
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
ADS1115_WE KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
reset KEYWORD2
init KEYWORD2
setAlertPinMode KEYWORD2
setAlertLatch KEYWORD2
setAlertPol KEYWORD2
setAlertModeAndLimit_V KEYWORD2
setConvRate KEYWORD2
setMeasureMode KEYWORD2
setVoltageRange_mV KEYWORD2
setCompareChannels KEYWORD2
isBusy KEYWORD2
startSingleMeasurement KEYWORD2
getResult_V KEYWORD2
getResult_mV KEYWORD2
setAlertPinToConversionReady KEYWORD2
clearAlert KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
ADS1115_CONV_REG LITERAL1
ADS1115_CONFIG_REG LITERAL1
ADS1115_LO_THRESH_REG LITERAL1
ADS1115_HI_THRESH_REG LITERAL1
ADS1115_REG_FACTOR LITERAL1
ADS1115_REG_RESET_VAL LITERAL1
ADS1115_ASSERT_AFTER_1 LITERAL1
ADS1115_ASSERT_AFTER_2 LITERAL1
ADS1115_ASSERT_AFTER_4 LITERAL1
ADS1115_DISABLE_ALERT LITERAL1
ADS1115_LATCH_DISABLED LITERAL1
ADS1115_LATCH_ENABLED LITERAL1
ADS1115_ACT_LOW LITERAL1
ADS1115_ACT_HIGH LITERAL1
ADS1115_MAX_LIMIT LITERAL1
ADS1115_WINDOW LITERAL1
ADS1115_8_SPS LITERAL1
ADS1115_16_SPS LITERAL1
ADS1115_32_SPS LITERAL1
ADS1115_64_SPS LITERAL1
ADS1115_128_SPS LITERAL1
ADS1115_250_SPS LITERAL1
ADS1115_475_SPS LITERAL1
ADS1115_860_SPS LITERAL1
ADS1115_CONTINUOUS LITERAL1
ADS1115_CONTINOUS LITERAL1
ADS1115_SINGLE LITERAL1
ADS1115_RANGE_6144 LITERAL1
ADS1115_RANGE_4096 LITERAL1
ADS1115_RANGE_2048 LITERAL1
ADS1115_RANGE_1024 LITERAL1
ADS1115_RANGE_0512 LITERAL1
ADS1115_RANGE_0256 LITERAL1
ADS1115_COMP_0_1 LITERAL1
ADS1115_COMP_0_3 LITERAL1
ADS1115_COMP_1_3 LITERAL1
ADS1115_COMP_2_3 LITERAL1
ADS1115_COMP_0_GND LITERAL1
ADS1115_COMP_1_GND LITERAL1
ADS1115_COMP_2_GND LITERAL1
ADS1115_COMP_3_GND LITERAL1
ADS1115_BUSY LITERAL1
ADS1115_START_ISREADY LITERAL1
|