forked from johnny49r/jStepper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keywords.txt
89 lines (80 loc) · 2.01 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
#######################################
# Syntax Coloring Map For jStepper
#
# Don't use spaces - only tabs
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
jStepper KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
begin KEYWORD2
setMaxSpeed KEYWORD2
getMaxSpeed KEYWORD2
setSpeed KEYWORD2
getSpeed KEYWORD2
setDirection KEYWORD2
getDirection KEYWORD2
setEnabled KEYWORD2
isEnabled KEYWORD2
setAcceleration KEYWORD2
getAcceleration KEYWORD2
runMotors KEYWORD2
stepMotor KEYWORD2
isRunning KEYWORD2
quickStop KEYWORD2
setPosition KEYWORD2
getPosition KEYWORD2
setPositionKnown KEYWORD2
isPositionKnown KEYWORD2
setMinPosition KEYWORD2
getMinPosition KEYWORD2
setMaxPosition KEYWORD2
getMaxPosition KEYWORD2
atMinEndStop KEYWORD2
atMaxEndStop KEYWORD2
addTimerCallBack KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
MOTOR_0 LITERAL1
MOTOR_1 LITERAL1
MOTOR_2 LITERAL1
MOTOR_ALL LITERAL1
MOTOR_DIRECTION_IN LITERAL1
MOTOR_DIRECTION_OUT LITERAL1
MOTOR_ENABLE LITERAL1
MOTOR_DISABLE LITERAL1
ERR_NONE LITERAL1
ERR_BAD_PARAM LITERAL1
ERR_INVALID_MOTOR LITERAL1
ERR_DISABLED LITERAL1
ERR_IN_ENDSTOP LITERAL1
ERR_ENDSTOP_NOT_FOUND LITERAL1
ERR_POSITION_UNKNOWN LITERAL1
ERR_OUTSIDE_BOUNDARY LITERAL1
ERR_MOTORS_RUNNING LITERAL1
ERR_NULL_PTR LITERAL1
TIMER_SEL_1 LITERAL1
TIMER_SEL_3 LITERAL1
TIMER_SEL_4 LITERAL1
TIMER_SEL_5 LITERAL1
TMR_1_CMPA LITERAL1
TMR_1_CMPB LITERAL1
TMR_1_CMPC LITERAL1
TMR_1_OVF LITERAL1
TMR_3_CMPA LITERAL1
TMR_3_CMPB LITERAL1
TMR_3_CMPC LITERAL1
TMR_3_OVF LITERAL1
TMR_4_CMPA LITERAL1
TMR_4_CMPB LITERAL1
TMR_4_CMPC LITERAL1
TMR_4_OVF LITERAL1
TMR_5_CMPA LITERAL1
TMR_5_CMPB LITERAL1
TMR_5_CMPC LITERAL1
TMR_5_OVF LITERAL1
STEP_COMPLETE_CALLBACK LITERAL1