Skip to content

Commit 8d80b01

Browse files
committed
add keywords.txt
1 parent 95d10d4 commit 8d80b01

File tree

4 files changed

+403
-5
lines changed

4 files changed

+403
-5
lines changed

cores/nRF5/delay.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ static __inline__ void delayMicroseconds( uint32_t usec )
7474
nrf_delay_us(usec);
7575
}
7676

77+
/**
78+
* Enable DWT, required for delay_ns()
79+
*/
7780
void dwt_enable(void);
7881
void dwt_disable(void);
7982

keywords.txt

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
#######################################
2+
# Syntax Coloring Map For Adafruit Feather WiFi
3+
#######################################
4+
5+
#######################################
6+
# Datatypes (KEYWORD1)
7+
#######################################
8+
9+
TimeoutTimer KEYWORD1
10+
Adafruit_FIFO KEYWORD1
11+
12+
#######################################
13+
# Core Function (KEYWORD2)
14+
#######################################
15+
16+
digitalToggle KEYWORD2
17+
18+
ledOn KEYWORD2
19+
ledOff KEYWORD2
20+
ledToggle KEYWORD2
21+
22+
printf KEYWORD2
23+
printBuffer KEYWORD2
24+
25+
dwt_enable KEYWORD2
26+
dwt_disable KEYWORD2
27+
delay_ns KEYWORD2
28+
29+
# RTOS
30+
rtos_malloc KEYWORD2
31+
rtos_free KEYWORD2
32+
rtos_realloc KEYWORD2
33+
34+
nrf52_flash_init KEYWORD2
35+
nrf52_flash_erase_sector KEYWORD2
36+
nrf52_flash_write KEYWORD2
37+
38+
VERIFY_STATIC KEYWORD2
39+
VERIFY_STATUS KEYWORD2
40+
VERIFY KEYWORD2
41+
42+
dbgHeapTotal KEYWORD2
43+
dbgHeapUsed KEYWORD2
44+
dbgHeapFree KEYWORD2
45+
dbgMemInfo KEYWORD2
46+
dbgPrintVersion KEYWORD2
47+
48+
#######################################
49+
# Adafruit_FIFO Methods (KEYWORD2)
50+
#######################################
51+
52+
clear KEYWORD2
53+
peek KEYWORD2
54+
peekAt KEYWORD2
55+
empty KEYWORD2
56+
full KEYWORD2
57+
count KEYWORD2
58+
remaining KEYWORD2
59+
60+
#######################################
61+
# TimeoutTimer Methods (KEYWORD2)
62+
#######################################
63+
64+
set KEYWORD2
65+
expired KEYWORD2
66+
restart KEYWORD2
67+
reset KEYWORD2
68+
69+
#######################################
70+
# Constants (LITERAL1)
71+
#######################################
72+
INPUT_PULLDOWN LITERAL1
73+
74+

0 commit comments

Comments
 (0)