No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

403 líneas
7.6KB

  1. # language keywords - Arduino doesn't define these, but probably should
  2. volatile LITERAL2
  3. # teensy specific functions
  4. elapsedMillis LITERAL2
  5. elapsedMicros LITERAL2
  6. readString KEYWORD2
  7. readStringUntil KEYWORD2
  8. analogReadRes KEYWORD2
  9. analogReadResolution KEYWORD2
  10. analogReadAveraging KEYWORD2
  11. analogWriteRes KEYWORD2
  12. analogWriteResolution KEYWORD2
  13. analogWriteFrequency KEYWORD2
  14. touchRead KEYWORD2
  15. Teensy3Clock KEYWORD2
  16. IntervalTimer KEYWORD2
  17. printf KEYWORD2
  18. digitalWriteFast KEYWORD2
  19. digitalReadFast KEYWORD2
  20. transmitterEnable KEYWORD2
  21. attachRts KEYWORD2
  22. attachCts KEYWORD2
  23. PROGMEM LITERAL2
  24. DMAMEM LITERAL2
  25. FASTRUN LITERAL2
  26. Serial4 KEYWORD1
  27. Serial5 KEYWORD1
  28. Serial6 KEYWORD1
  29. setRX KEYWORD2
  30. setTX KEYWORD2
  31. write9bit KEYWORD2
  32. clear KEYWORD2
  33. # removed by Arduino 1.0, but still in Teensyduino
  34. BYTE LITERAL2
  35. # Arduino constants
  36. A0 LITERAL1
  37. A1 LITERAL1
  38. A2 LITERAL1
  39. A3 LITERAL1
  40. A4 LITERAL1
  41. A5 LITERAL1
  42. A6 LITERAL1
  43. A7 LITERAL1
  44. A8 LITERAL1
  45. A9 LITERAL1
  46. A10 LITERAL1
  47. A11 LITERAL1
  48. A12 LITERAL1
  49. A13 LITERAL1
  50. A14 LITERAL1
  51. A15 LITERAL1
  52. A16 LITERAL1
  53. A17 LITERAL1
  54. A18 LITERAL1
  55. A19 LITERAL1
  56. A20 LITERAL1
  57. A21 LITERAL1
  58. A22 LITERAL1
  59. SS LITERAL1
  60. MOSI LITERAL1
  61. MISO LITERAL1
  62. SCK LITERAL1
  63. SDA LITERAL1
  64. SCL LITERAL1
  65. NUM_DIGITAL_PINS LITERAL1
  66. NUM_ANALOG_INPUTS LITERAL1
  67. analogInputToDigitalPin KEYWORD2
  68. digitalPinHasPWM KEYWORD2
  69. NOT_AN_INTERRUPT LITERAL1
  70. digitalPinToInterrupt KEYWORD2
  71. # Teensy 3.x advanced pin states
  72. OUTPUT_OPENDRAIN LITERAL1
  73. INPUT_PULLUP LITERAL1
  74. INPUT_PULLDOWN LITERAL1
  75. # String functions
  76. copy KEYWORD2
  77. append KEYWORD2
  78. # Teensy 2.0 pin names
  79. PIN_A0 LITERAL1
  80. PIN_A1 LITERAL1
  81. PIN_A2 LITERAL1
  82. PIN_A3 LITERAL1
  83. PIN_A4 LITERAL1
  84. PIN_A5 LITERAL1
  85. PIN_A6 LITERAL1
  86. PIN_A7 LITERAL1
  87. PIN_B0 LITERAL1
  88. PIN_B1 LITERAL1
  89. PIN_B2 LITERAL1
  90. PIN_B3 LITERAL1
  91. PIN_B4 LITERAL1
  92. PIN_B5 LITERAL1
  93. PIN_B6 LITERAL1
  94. PIN_B7 LITERAL1
  95. PIN_C0 LITERAL1
  96. PIN_C1 LITERAL1
  97. PIN_C2 LITERAL1
  98. PIN_C3 LITERAL1
  99. PIN_C4 LITERAL1
  100. PIN_C5 LITERAL1
  101. PIN_C6 LITERAL1
  102. PIN_C7 LITERAL1
  103. PIN_D0 LITERAL1
  104. PIN_D1 LITERAL1
  105. PIN_D2 LITERAL1
  106. PIN_D3 LITERAL1
  107. PIN_D4 LITERAL1
  108. PIN_D5 LITERAL1
  109. PIN_D6 LITERAL1
  110. PIN_D7 LITERAL1
  111. PIN_E0 LITERAL1
  112. PIN_E1 LITERAL1
  113. PIN_E2 LITERAL1
  114. PIN_E3 LITERAL1
  115. PIN_E4 LITERAL1
  116. PIN_E5 LITERAL1
  117. PIN_E6 LITERAL1
  118. PIN_E7 LITERAL1
  119. PIN_F0 LITERAL1
  120. PIN_F1 LITERAL1
  121. PIN_F2 LITERAL1
  122. PIN_F3 LITERAL1
  123. PIN_F4 LITERAL1
  124. PIN_F5 LITERAL1
  125. PIN_F6 LITERAL1
  126. PIN_F7 LITERAL1
  127. PIN_SS LITERAL1
  128. PIN_SCLK LITERAL1
  129. PIN_MOSI LITERAL1
  130. PIN_MISO LITERAL1
  131. PIN_LED LITERAL1
  132. ANALOG_0 LITERAL1 AnalogRead
  133. ANALOG_1 LITERAL1 AnalogRead
  134. ANALOG_2 LITERAL1 AnalogRead
  135. ANALOG_3 LITERAL1 AnalogRead
  136. ANALOG_4 LITERAL1 AnalogRead
  137. ANALOG_5 LITERAL1 AnalogRead
  138. ANALOG_6 LITERAL1 AnalogRead
  139. ANALOG_7 LITERAL1 AnalogRead
  140. ANALOG_1_TO_0_X10 LITERAL1 AnalogRead
  141. ANALOG_1_TO_0_X200 LITERAL1 AnalogRead
  142. ANALOG_3_TO_2_X10 LITERAL1 AnalogRead
  143. ANALOG_3_TO_2_X200 LITERAL1 AnalogRead
  144. ANALOG_0_TO_1 LITERAL1 AnalogRead
  145. ANALOG_2_TO_1 LITERAL1 AnalogRead
  146. ANALOG_3_TO_1 LITERAL1 AnalogRead
  147. ANALOG_4_TO_1 LITERAL1 AnalogRead
  148. ANALOG_5_TO_1 LITERAL1 AnalogRead
  149. ANALOG_6_TO_1 LITERAL1 AnalogRead
  150. ANALOG_7_TO_1 LITERAL1 AnalogRead
  151. ANALOG_0_TO_2 LITERAL1 AnalogRead
  152. ANALOG_1_TO_2 LITERAL1 AnalogRead
  153. ANALOG_3_TO_2 LITERAL1 AnalogRead
  154. ANALOG_4_TO_2 LITERAL1 AnalogRead
  155. ANALOG_5_TO_2 LITERAL1 AnalogRead
  156. ANALOG_1_1V LITERAL1 AnalogRead
  157. ANALOG_0V LITERAL1 AnalogRead
  158. # USB Serial
  159. send_now KEYWORD2
  160. baud KEYWORD2
  161. stopbits KEYWORD2
  162. paritytype KEYWORD2
  163. numbits KEYWORD2
  164. dtr KEYWORD2
  165. rts KEYWORD2
  166. # USB Keyboard
  167. write_unicode KEYWORD2
  168. set_modifier KEYWORD2
  169. set_key1 KEYWORD2
  170. set_key2 KEYWORD2
  171. set_key3 KEYWORD2
  172. set_key4 KEYWORD2
  173. set_key5 KEYWORD2
  174. set_key6 KEYWORD2
  175. set_media KEYWORD2
  176. MODIFIERKEY_CTRL LITERAL1
  177. MODIFIERKEY_SHIFT LITERAL1
  178. MODIFIERKEY_ALT LITERAL1
  179. MODIFIERKEY_GUI LITERAL1
  180. MODIFIERKEY_LEFT_CTRL LITERAL1
  181. MODIFIERKEY_LEFT_SHIFT LITERAL1
  182. MODIFIERKEY_LEFT_ALT LITERAL1
  183. MODIFIERKEY_LEFT_GUI LITERAL1
  184. MODIFIERKEY_RIGHT_CTRL LITERAL1
  185. MODIFIERKEY_RIGHT_SHIFT LITERAL1
  186. MODIFIERKEY_RIGHT_ALT LITERAL1
  187. MODIFIERKEY_RIGHT_GUI LITERAL1
  188. KEY_MEDIA_VOLUME_INC LITERAL1
  189. KEY_MEDIA_VOLUME_DEC LITERAL1
  190. KEY_MEDIA_MUTE LITERAL1
  191. KEY_MEDIA_PLAY_PAUSE LITERAL1
  192. KEY_MEDIA_NEXT_TRACK LITERAL1
  193. KEY_MEDIA_PREV_TRACK LITERAL1
  194. KEY_MEDIA_STOP LITERAL1
  195. KEY_MEDIA_EJECT LITERAL1
  196. KEY_A LITERAL1
  197. KEY_B LITERAL1
  198. KEY_C LITERAL1
  199. KEY_D LITERAL1
  200. KEY_E LITERAL1
  201. KEY_F LITERAL1
  202. KEY_G LITERAL1
  203. KEY_H LITERAL1
  204. KEY_I LITERAL1
  205. KEY_J LITERAL1
  206. KEY_K LITERAL1
  207. KEY_L LITERAL1
  208. KEY_M LITERAL1
  209. KEY_N LITERAL1
  210. KEY_O LITERAL1
  211. KEY_P LITERAL1
  212. KEY_Q LITERAL1
  213. KEY_R LITERAL1
  214. KEY_S LITERAL1
  215. KEY_T LITERAL1
  216. KEY_U LITERAL1
  217. KEY_V LITERAL1
  218. KEY_W LITERAL1
  219. KEY_X LITERAL1
  220. KEY_Y LITERAL1
  221. KEY_Z LITERAL1
  222. KEY_1 LITERAL1
  223. KEY_2 LITERAL1
  224. KEY_3 LITERAL1
  225. KEY_4 LITERAL1
  226. KEY_5 LITERAL1
  227. KEY_6 LITERAL1
  228. KEY_7 LITERAL1
  229. KEY_8 LITERAL1
  230. KEY_9 LITERAL1
  231. KEY_0 LITERAL1
  232. KEY_ENTER LITERAL1
  233. KEY_ESC LITERAL1
  234. KEY_BACKSPACE LITERAL1
  235. KEY_TAB LITERAL1
  236. KEY_SPACE LITERAL1
  237. KEY_MINUS LITERAL1
  238. KEY_EQUAL LITERAL1
  239. KEY_LEFT_BRACE LITERAL1
  240. KEY_RIGHT_BRACE LITERAL1
  241. KEY_BACKSLASH LITERAL1
  242. KEY_NON_US_NUM LITERAL1
  243. KEY_SEMICOLON LITERAL1
  244. KEY_QUOTE LITERAL1
  245. KEY_TILDE LITERAL1
  246. KEY_COMMA LITERAL1
  247. KEY_PERIOD LITERAL1
  248. KEY_SLASH LITERAL1
  249. KEY_CAPS_LOCK LITERAL1
  250. KEY_F1 LITERAL1
  251. KEY_F2 LITERAL1
  252. KEY_F3 LITERAL1
  253. KEY_F4 LITERAL1
  254. KEY_F5 LITERAL1
  255. KEY_F6 LITERAL1
  256. KEY_F7 LITERAL1
  257. KEY_F8 LITERAL1
  258. KEY_F9 LITERAL1
  259. KEY_F10 LITERAL1
  260. KEY_F11 LITERAL1
  261. KEY_F12 LITERAL1
  262. KEY_PRINTSCREEN LITERAL1
  263. KEY_SCROLL_LOCK LITERAL1
  264. KEY_PAUSE LITERAL1
  265. KEY_INSERT LITERAL1
  266. KEY_HOME LITERAL1
  267. KEY_PAGE_UP LITERAL1
  268. KEY_DELETE LITERAL1
  269. KEY_END LITERAL1
  270. KEY_PAGE_DOWN LITERAL1
  271. KEY_RIGHT LITERAL1
  272. KEY_LEFT LITERAL1
  273. KEY_DOWN LITERAL1
  274. KEY_UP LITERAL1
  275. KEY_NUM_LOCK LITERAL1
  276. KEYPAD_SLASH LITERAL1
  277. KEYPAD_ASTERIX LITERAL1
  278. KEYPAD_MINUS LITERAL1
  279. KEYPAD_PLUS LITERAL1
  280. KEYPAD_ENTER LITERAL1
  281. KEYPAD_1 LITERAL1
  282. KEYPAD_2 LITERAL1
  283. KEYPAD_3 LITERAL1
  284. KEYPAD_4 LITERAL1
  285. KEYPAD_5 LITERAL1
  286. KEYPAD_6 LITERAL1
  287. KEYPAD_7 LITERAL1
  288. KEYPAD_8 LITERAL1
  289. KEYPAD_9 LITERAL1
  290. KEYPAD_0 LITERAL1
  291. KEYPAD_PERIOD LITERAL1
  292. KEY_UP_ARROW LITERAL1
  293. KEY_DOWN_ARROW LITERAL1
  294. KEY_LEFT_ARROW LITERAL1
  295. KEY_RIGHT_ARROW LITERAL1
  296. KEY_RETURN LITERAL1
  297. KEY_LEFT_CTRL LITERAL1
  298. KEY_LEFT_SHIFT LITERAL1
  299. KEY_LEFT_ALT LITERAL1
  300. KEY_LEFT_GUI LITERAL1
  301. KEY_RIGHT_CTRL LITERAL1
  302. KEY_RIGHT_SHIFT LITERAL1
  303. KEY_RIGHT_ALT LITERAL1
  304. KEY_RIGHT_GUI LITERAL1
  305. # USB Mouse
  306. moveTo KEYWORD2
  307. screenSize KEYWORD2
  308. scroll KEYWORD2
  309. set_buttons KEYWORD2
  310. isPressed KEYWORD2
  311. MOUSE_LEFT LITERAL1
  312. MOUSE_MIDDLE LITERAL1
  313. MOUSE_RIGHT LITERAL1
  314. MOUSE_ALL LITERAL1
  315. MOUSE_BACK LITERAL1
  316. MOUSE_FORWARD LITERAL1
  317. # USB Joystick
  318. Joystick KEYWORD1
  319. button KEYWORD2
  320. X KEYWORD2
  321. Y KEYWORD2
  322. position KEYWORD2
  323. Z KEYWORD2
  324. Xrotate KEYWORD2
  325. Yrotate KEYWORD2
  326. Zrotate KEYWORD2
  327. sliderLeft KEYWORD2
  328. sliderRight KEYWORD2
  329. slider KEYWORD2
  330. hat KEYWORD2
  331. useManualSend KEYWORD2
  332. # USB Disk
  333. Disk KEYWORD1
  334. claim KEYWORD2
  335. readSector KEYWORD2
  336. writeSector KEYWORD2
  337. releaseReadOnly KEYWORD2
  338. # USB MIDI
  339. usbMIDI KEYWORD1
  340. sendNoteOff KEYWORD2
  341. sendNoteOn KEYWORD2
  342. sendPolyPressure KEYWORD2
  343. sendControlChange KEYWORD2
  344. sendProgramChange KEYWORD2
  345. sendAfterTouch KEYWORD2
  346. sendPitchBend KEYWORD2
  347. sendSysEx KEYWORD2
  348. analog2velocity KEYWORD2
  349. getType KEYWORD2
  350. getChannel KEYWORD2
  351. getData1 KEYWORD2
  352. getData2 KEYWORD2
  353. getSysExArray KEYWORD2
  354. setHandleNoteOff KEYWORD2
  355. setHandleNoteOn KEYWORD2
  356. setHandleVelocityChange KEYWORD2
  357. setHandleControlChange KEYWORD2
  358. setHandleProgramChange KEYWORD2
  359. setHandleAfterTouch KEYWORD2
  360. setHandlePitchChange KEYWORD2
  361. setHandlePitchChange KEYWORD2
  362. NoteOff LITERAL1
  363. NoteOn LITERAL1
  364. AfterTouchPoly LITERAL1
  365. ControlChange LITERAL1
  366. ProgramChange LITERAL1
  367. AfterTouchChannel LITERAL1
  368. PitchBend LITERAL1
  369. SystemExclusive LITERAL1
  370. # USB RawHID
  371. RawHID KEYWORD1
  372. recv KEYWORD2
  373. send KEYWORD2
  374. # USB Flight Sim Controls
  375. FlightSim KEYWORD1
  376. FlightSimCommand KEYWORD2
  377. FlightSimInteger KEYWORD2
  378. FlightSimFloat KEYWORD2
  379. FlightSimElapsedFrames KEYWORD2
  380. onChange KEYWORD2
  381. update KEYWORD2
  382. isEnabled KEYWORD2
  383. getFrameCount KEYWORD2
  384. XPlaneRef KEYWORD2
  385. # USB Touchscreen
  386. TouchscreenUSB KEYWORD1