-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
keywords.txt
97 lines (76 loc) · 1.97 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Syntax Colouring Map For ADS1X15
# Data types (KEYWORD1)
ADS1X15 KEYWORD1
ADS1013 KEYWORD1
ADS1014 KEYWORD1
ADS1015 KEYWORD1
ADS1015 KEYWORD1
ADS1113 KEYWORD1
ADS1114 KEYWORD1
ADS1115 KEYWORD1
# Methods and Functions (KEYWORD2)
begin KEYWORD2
reset KEYWORD2
isBusy KEYWORD2
isReady() KEYWORD2
isConnected KEYWORD2
setGain KEYWORD2
getGain KEYWORD2
toVoltage KEYWORD2
getMaxVoltage KEYWORD2
setMode KEYWORD2
getMode KEYWORD2
setDataRate KEYWORD2
getDataRate KEYWORD2
readADC KEYWORD2
readADC_Differential_0_1 KEYWORD2
readADC_Differential_0_3 KEYWORD2
readADC_Differential_1_3 KEYWORD2
readADC_Differential_2_3 KEYWORD2
getValue KEYWORD2
getLastRequest KEYWORD2
setComparatorMode KEYWORD2
getComparatorMode KEYWORD2
setComparatorPolarity KEYWORD2
getComparatorPolarity KEYWORD2
setComparatorLatch KEYWORD2
getComparatorLatch KEYWORD2
setComparatorQueConvert KEYWORD2
getComparatorQueConvert KEYWORD2
setComparatorThresholdLow KEYWORD2
getComparatorThresholdLow KEYWORD2
setComparatorThresholdHigh KEYWORD2
getComparatorThresholdHigh KEYWORD2
getError KEYWORD2
setWireClock KEYWORD2
getWireClock KEYWORD2
# ASYNC INTERFACE
requestADC KEYWORD2
requestADC_Differential_0_1 KEYWORD2
requestADC_Differential_0_3 KEYWORD2
requestADC_Differential_1_3 KEYWORD2
requestADC_Differential_2_3 KEYWORD2
# Constants (LITERAL1)
ADS1X15_LIB_VERSION LITERAL1
ADS1X15_INVALID_VOLTAGE LITERAL1
ADS1X15_INVALID_GAIN LITERAL1
ADS1X15_INVALID_MODE LITERAL1
ADS1015_ADDRESS LITERAL1
ADS1115_ADDRESS LITERAL1
ADS1X15_GAIN_6144MV LITERAL1
ADS1X15_GAIN_4096MV LITERAL1
ADS1X15_GAIN_2048MV LITERAL1
ADS1X15_GAIN_1024MV LITERAL1
ADS1X15_GAIN_0512MV LITERAL1
ADS1X15_GAIN_0256MV LITERAL1
ADS1x15_COMP_MODE_TRADITIONAL LITERAL1
ADS1x15_COMP_MODE_WINDOW LITERAL1
ADS1x15_COMP_POL_FALLING_EDGE LITERAL1
ADS1x15_COMP_POL_RISING_EDGE LITERAL1
# Error Codes
ADS1X15_OK KEYWORD2
ADS1X15_INVALID_VOLTAGE KEYWORD2
ADS1X15_ERROR_TIMEOUT KEYWORD2
ADS1X15_ERROR_I2C KEYWORD2
ADS1X15_INVALID_GAIN KEYWORD2
ADS1X15_INVALID_MODE KEYWORD2