Skip to content

Adding keywords.txt for syntax highlighting. #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#######################################
# Syntax Coloring Map for Arduino_AdvancedAnalog
#######################################

#######################################
# Class (KEYWORD1)
#######################################

AdvancedADC KEYWORD1
AdvancedDAC KEYWORD1
Sample KEYWORD1
SampleBuffer KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

available KEYWORD2
read KEYWORD2
begin KEYWORD2
stop KEYWORD2
dequeue KEYWORD2

data KEYWORD2
size KEYWORD2
bytes KEYWORD2
flush KEYWORD2
invalidate KEYWORD2
timestamp KEYWORD2
channels KEYWORD2
release KEYWORD2
setflags KEYWORD2
getflags KEYWORD2
clrflags KEYWORD2

writable KEYWORD2
readable KEYWORD2
allocate KEYWORD2
release KEYWORD2
enqueue KEYWORD2
dequeue KEYWORD2

#######################################
# Constants (LITERAL1)
#######################################

AN_RESOLUTION_8 LITERAL1
AN_RESOLUTION_10 LITERAL1
AN_RESOLUTION_12 LITERAL1
AN_RESOLUTION_14 LITERAL1
AN_RESOLUTION_16 LITERAL1