-
Notifications
You must be signed in to change notification settings - Fork 2
/
keywords.txt
55 lines (51 loc) · 2.13 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
######################################################################################################
## Syntax Coloring Map for library. The values below MUST be separated by a single "TAB", otherwise ##
## the file will not be parsed correctly. ##
## ##
## Date Developer Comments ##
## ========== ========== ========================================================================== ##
## 2020-12-25 SV-Zanshin Added this comment header and readByte(), readWord() and writeByte() ##
## ##
######################################################################################################
################################
# Classes/Datatypes (KEYWORD1) #
################################
VCNL4010 KEYWORD1
####################################
# Methods and Functions (KEYWORD2) #
####################################
begin KEYWORD2
setProximityHz KEYWORD2
setLEDmA KEYWORD2
setProximityFreq KEYWORD2
setAmbientLight KEYWORD2
setAmbientContinuous KEYWORD2
setProximityContinuous KEYWORD2
setInterrupt KEYWORD2
getAmbientLight KEYWORD2
getProximity KEYWORD2
getInterrupt KEYWORD2
clearInterrupt KEYWORD2
readByte KEYWORD2
writeByte KEYWORD2
readWord KEYWORD2
########################
# Constants (LITERAL1) #
########################
VCNL4010_ADDRESS LITERAL1
VCNL4010_COMMAND_REG LITERAL1
VCNL4010_PRODUCT_ID_REG LITERAL1
VCNL4010_PROXIMITY_RATE_REG LITERAL1
VCNL4010_LED_CURRENT_REG LITERAL1
VCNL4010_AMBIENT_PARAMETER_REG LITERAL1
VCNL4010_AMBIENT_LIGHT_REG LITERAL1
VCNL4010_PROXIMITY_REG LITERAL1
VCNL4010_INTERRUPT_REG LITERAL1
VCNL4010_LOW_THRESHOLD_MSB_REG LITERAL1
VCNL4010_LOW_THRESHOLD_LSB_REG LITERAL1
VCNL4010_HIGH_THRESHOLD_MSB_REG LITERAL1
VCNL4010_HIGH_THRESHOLD_LSB_REG LITERAL1
VCNL4010_INTERRUPT_STATUS_REG LITERAL1
VCNL4010_PROXIMITY_TIMING_REG LITERAL1
VCNL4010_PRODUCT_VERSION LITERAL1
VCNL4010_I2C_DELAY LITERAL1