You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 9 години
преди 7 години
преди 9 години
преди 7 години
преди 9 години
преди 7 години
преди 8 години
преди 7 години
преди 7 години
преди 9 години
преди 9 години
преди 8 години
преди 9 години
преди 7 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 9 години
преди 9 години
преди 9 години
преди 9 години
преди 6 години
преди 9 години
преди 6 години
преди 9 години
преди 9 години
преди 8 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. # language keywords - Arduino doesn't define these, but probably should
  2. volatile LITERAL1
  3. constexpr LITERAL1
  4. alignas LITERAL1
  5. alignof LITERAL1
  6. nullptr LITERAL1
  7. noexcept LITERAL1
  8. static_assert LITERAL1
  9. thread_local LITERAL1
  10. # teensy specific functions
  11. elapsedMillis LITERAL1
  12. elapsedMicros LITERAL1
  13. readString KEYWORD2
  14. readStringUntil KEYWORD2
  15. analogReadRes KEYWORD2
  16. analogReadResolution KEYWORD2
  17. analogReadAveraging KEYWORD2
  18. analogWriteRes KEYWORD2
  19. analogWriteResolution KEYWORD2
  20. analogWriteFrequency KEYWORD2
  21. touchRead KEYWORD2
  22. Teensy3Clock KEYWORD2
  23. IntervalTimer KEYWORD2
  24. printf KEYWORD2
  25. digitalWriteFast KEYWORD2
  26. digitalReadFast KEYWORD2
  27. transmitterEnable KEYWORD2
  28. attachRts KEYWORD2
  29. attachCts KEYWORD2
  30. PROGMEM LITERAL1
  31. DMAMEM LITERAL1
  32. FASTRUN LITERAL1
  33. Serial4 KEYWORD1
  34. Serial5 KEYWORD1
  35. Serial6 KEYWORD1
  36. setRX KEYWORD2
  37. setTX KEYWORD2
  38. write9bit KEYWORD2
  39. clear KEYWORD2
  40. EventResponder LITERAL1
  41. EventResponderRef LITERAL1
  42. attachImmediate KEYWORD2
  43. triggerEvent KEYWORD2
  44. clearEvent KEYWORD2
  45. getStatus KEYWORD2
  46. getData KEYWORD2
  47. setContext KEYWORD2
  48. getContext KEYWORD2
  49. waitForEvent KEYWORD2
  50. MillisTimer LITERAL1
  51. beginRepeating KEYWORD2
  52. # removed by Arduino 1.0, now also removed from Teensyduino
  53. #BYTE LITERAL1
  54. # Arduino constants
  55. A0 LITERAL1
  56. A1 LITERAL1
  57. A2 LITERAL1
  58. A3 LITERAL1
  59. A4 LITERAL1
  60. A5 LITERAL1
  61. A6 LITERAL1
  62. A7 LITERAL1
  63. A8 LITERAL1
  64. A9 LITERAL1
  65. A10 LITERAL1
  66. A11 LITERAL1
  67. A12 LITERAL1
  68. A13 LITERAL1
  69. A14 LITERAL1
  70. A15 LITERAL1
  71. A16 LITERAL1
  72. A17 LITERAL1
  73. A18 LITERAL1
  74. A19 LITERAL1
  75. A20 LITERAL1
  76. A21 LITERAL1
  77. A22 LITERAL1
  78. A23 LITERAL1
  79. A24 LITERAL1
  80. A25 LITERAL1
  81. A26 LITERAL1
  82. SS LITERAL1
  83. MOSI LITERAL1
  84. MISO LITERAL1
  85. SCK LITERAL1
  86. SDA LITERAL1
  87. SCL LITERAL1
  88. NUM_DIGITAL_PINS LITERAL1
  89. NUM_ANALOG_INPUTS LITERAL1
  90. analogInputToDigitalPin KEYWORD2
  91. digitalPinHasPWM KEYWORD2
  92. NOT_AN_INTERRUPT LITERAL1
  93. digitalPinToInterrupt KEYWORD2
  94. # HardwareSerial modes
  95. SERIAL_7E1 LITERAL1
  96. SERIAL_7O1 LITERAL1
  97. SERIAL_8N1 LITERAL1
  98. SERIAL_8E1 LITERAL1
  99. SERIAL_8O1 LITERAL1
  100. SERIAL_7E1_RXINV LITERAL1
  101. SERIAL_7O1_RXINV LITERAL1
  102. SERIAL_8N1_RXINV LITERAL1
  103. SERIAL_8E1_RXINV LITERAL1
  104. SERIAL_8O1_RXINV LITERAL1
  105. SERIAL_7E1_TXINV LITERAL1
  106. SERIAL_7O1_TXINV LITERAL1
  107. SERIAL_8N1_TXINV LITERAL1
  108. SERIAL_8E1_TXINV LITERAL1
  109. SERIAL_8O1_TXINV LITERAL1
  110. SERIAL_7E1_RXINV_TXINV LITERAL1
  111. SERIAL_7O1_RXINV_TXINV LITERAL1
  112. SERIAL_8N1_RXINV_TXINV LITERAL1
  113. SERIAL_8E1_RXINV_TXINV LITERAL1
  114. SERIAL_8O1_RXINV_TXINV LITERAL1
  115. SERIAL_8E2 LITERAL1
  116. SERIAL_8O2 LITERAL1
  117. SERIAL_8E2_RXINV LITERAL1
  118. SERIAL_8O2_RXINV LITERAL1
  119. SERIAL_8E2_TXINV LITERAL1
  120. SERIAL_8O2_TXINV LITERAL1
  121. SERIAL_8E2_RXINV_TXINV LITERAL1
  122. SERIAL_8O2_RXINV_TXINV LITERAL1
  123. SERIAL_8N2 LITERAL1
  124. SERIAL_8N2_RXINV LITERAL1
  125. SERIAL_8N2_TXINV LITERAL1
  126. SERIAL_8N2_RXINV_TXINV LITERAL1
  127. SERIAL_9N1 LITERAL1
  128. SERIAL_9E1 LITERAL1
  129. SERIAL_9O1 LITERAL1
  130. SERIAL_9N1_RXINV LITERAL1
  131. SERIAL_9E1_RXINV LITERAL1
  132. SERIAL_9O1_RXINV LITERAL1
  133. SERIAL_9N1_TXINV LITERAL1
  134. SERIAL_9E1_TXINV LITERAL1
  135. SERIAL_9O1_TXINV LITERAL1
  136. SERIAL_9N1_RXINV_TXINV LITERAL1
  137. SERIAL_9E1_RXINV_TXINV LITERAL1
  138. SERIAL_9O1_RXINV_TXINV LITERAL1
  139. # Teensy 3.x advanced pin states
  140. OUTPUT_OPENDRAIN LITERAL1
  141. INPUT_PULLUP LITERAL1
  142. INPUT_PULLDOWN LITERAL1
  143. INPUT_DISABLE LITERAL1
  144. # String functions
  145. copy KEYWORD2
  146. append KEYWORD2
  147. # Teensy 2.0 pin names
  148. PIN_A0 LITERAL1
  149. PIN_A1 LITERAL1
  150. PIN_A2 LITERAL1
  151. PIN_A3 LITERAL1
  152. PIN_A4 LITERAL1
  153. PIN_A5 LITERAL1
  154. PIN_A6 LITERAL1
  155. PIN_A7 LITERAL1
  156. PIN_B0 LITERAL1
  157. PIN_B1 LITERAL1
  158. PIN_B2 LITERAL1
  159. PIN_B3 LITERAL1
  160. PIN_B4 LITERAL1
  161. PIN_B5 LITERAL1
  162. PIN_B6 LITERAL1
  163. PIN_B7 LITERAL1
  164. PIN_C0 LITERAL1
  165. PIN_C1 LITERAL1
  166. PIN_C2 LITERAL1
  167. PIN_C3 LITERAL1
  168. PIN_C4 LITERAL1
  169. PIN_C5 LITERAL1
  170. PIN_C6 LITERAL1
  171. PIN_C7 LITERAL1
  172. PIN_D0 LITERAL1
  173. PIN_D1 LITERAL1
  174. PIN_D2 LITERAL1
  175. PIN_D3 LITERAL1
  176. PIN_D4 LITERAL1
  177. PIN_D5 LITERAL1
  178. PIN_D6 LITERAL1
  179. PIN_D7 LITERAL1
  180. PIN_E0 LITERAL1
  181. PIN_E1 LITERAL1
  182. PIN_E2 LITERAL1
  183. PIN_E3 LITERAL1
  184. PIN_E4 LITERAL1
  185. PIN_E5 LITERAL1
  186. PIN_E6 LITERAL1
  187. PIN_E7 LITERAL1
  188. PIN_F0 LITERAL1
  189. PIN_F1 LITERAL1
  190. PIN_F2 LITERAL1
  191. PIN_F3 LITERAL1
  192. PIN_F4 LITERAL1
  193. PIN_F5 LITERAL1
  194. PIN_F6 LITERAL1
  195. PIN_F7 LITERAL1
  196. PIN_SS LITERAL1
  197. PIN_SCLK LITERAL1
  198. PIN_MOSI LITERAL1
  199. PIN_MISO LITERAL1
  200. PIN_LED LITERAL1
  201. ANALOG_0 LITERAL1 AnalogRead
  202. ANALOG_1 LITERAL1 AnalogRead
  203. ANALOG_2 LITERAL1 AnalogRead
  204. ANALOG_3 LITERAL1 AnalogRead
  205. ANALOG_4 LITERAL1 AnalogRead
  206. ANALOG_5 LITERAL1 AnalogRead
  207. ANALOG_6 LITERAL1 AnalogRead
  208. ANALOG_7 LITERAL1 AnalogRead
  209. ANALOG_1_TO_0_X10 LITERAL1 AnalogRead
  210. ANALOG_1_TO_0_X200 LITERAL1 AnalogRead
  211. ANALOG_3_TO_2_X10 LITERAL1 AnalogRead
  212. ANALOG_3_TO_2_X200 LITERAL1 AnalogRead
  213. ANALOG_0_TO_1 LITERAL1 AnalogRead
  214. ANALOG_2_TO_1 LITERAL1 AnalogRead
  215. ANALOG_3_TO_1 LITERAL1 AnalogRead
  216. ANALOG_4_TO_1 LITERAL1 AnalogRead
  217. ANALOG_5_TO_1 LITERAL1 AnalogRead
  218. ANALOG_6_TO_1 LITERAL1 AnalogRead
  219. ANALOG_7_TO_1 LITERAL1 AnalogRead
  220. ANALOG_0_TO_2 LITERAL1 AnalogRead
  221. ANALOG_1_TO_2 LITERAL1 AnalogRead
  222. ANALOG_3_TO_2 LITERAL1 AnalogRead
  223. ANALOG_4_TO_2 LITERAL1 AnalogRead
  224. ANALOG_5_TO_2 LITERAL1 AnalogRead
  225. ANALOG_1_1V LITERAL1 AnalogRead
  226. ANALOG_0V LITERAL1 AnalogRead
  227. # USB Serial
  228. send_now KEYWORD2
  229. baud KEYWORD2
  230. stopbits KEYWORD2
  231. paritytype KEYWORD2
  232. numbits KEYWORD2
  233. dtr KEYWORD2
  234. rts KEYWORD2
  235. # USB Keyboard
  236. write_unicode KEYWORD2
  237. set_modifier KEYWORD2
  238. set_key1 KEYWORD2
  239. set_key2 KEYWORD2
  240. set_key3 KEYWORD2
  241. set_key4 KEYWORD2
  242. set_key5 KEYWORD2
  243. set_key6 KEYWORD2
  244. set_media KEYWORD2
  245. MODIFIERKEY_CTRL LITERAL1
  246. MODIFIERKEY_SHIFT LITERAL1
  247. MODIFIERKEY_ALT LITERAL1
  248. MODIFIERKEY_GUI LITERAL1
  249. MODIFIERKEY_LEFT_CTRL LITERAL1
  250. MODIFIERKEY_LEFT_SHIFT LITERAL1
  251. MODIFIERKEY_LEFT_ALT LITERAL1
  252. MODIFIERKEY_LEFT_GUI LITERAL1
  253. MODIFIERKEY_RIGHT_CTRL LITERAL1
  254. MODIFIERKEY_RIGHT_SHIFT LITERAL1
  255. MODIFIERKEY_RIGHT_ALT LITERAL1
  256. MODIFIERKEY_RIGHT_GUI LITERAL1
  257. KEY_MEDIA_VOLUME_INC LITERAL1
  258. KEY_MEDIA_VOLUME_DEC LITERAL1
  259. KEY_MEDIA_MUTE LITERAL1
  260. KEY_MEDIA_PLAY_PAUSE LITERAL1
  261. KEY_MEDIA_NEXT_TRACK LITERAL1
  262. KEY_MEDIA_PREV_TRACK LITERAL1
  263. KEY_MEDIA_STOP LITERAL1
  264. KEY_MEDIA_EJECT LITERAL1
  265. KEY_MEDIA_PLAY LITERAL1
  266. KEY_MEDIA_PAUSE LITERAL1
  267. KEY_MEDIA_RECORD LITERAL1
  268. KEY_MEDIA_REWIND LITERAL1
  269. KEY_MEDIA_FAST_FORWARD LITERAL1
  270. KEY_MEDIA_PLAY_SKIP LITERAL1
  271. KEY_SYSTEM_POWER_DOWN LITERAL1
  272. KEY_SYSTEM_SLEEP LITERAL1
  273. KEY_SYSTEM_WAKE_UP LITERAL1
  274. KEY_A LITERAL1
  275. KEY_B LITERAL1
  276. KEY_C LITERAL1
  277. KEY_D LITERAL1
  278. KEY_E LITERAL1
  279. KEY_F LITERAL1
  280. KEY_G LITERAL1
  281. KEY_H LITERAL1
  282. KEY_I LITERAL1
  283. KEY_J LITERAL1
  284. KEY_K LITERAL1
  285. KEY_L LITERAL1
  286. KEY_M LITERAL1
  287. KEY_N LITERAL1
  288. KEY_O LITERAL1
  289. KEY_P LITERAL1
  290. KEY_Q LITERAL1
  291. KEY_R LITERAL1
  292. KEY_S LITERAL1
  293. KEY_T LITERAL1
  294. KEY_U LITERAL1
  295. KEY_V LITERAL1
  296. KEY_W LITERAL1
  297. KEY_X LITERAL1
  298. KEY_Y LITERAL1
  299. KEY_Z LITERAL1
  300. KEY_1 LITERAL1
  301. KEY_2 LITERAL1
  302. KEY_3 LITERAL1
  303. KEY_4 LITERAL1
  304. KEY_5 LITERAL1
  305. KEY_6 LITERAL1
  306. KEY_7 LITERAL1
  307. KEY_8 LITERAL1
  308. KEY_9 LITERAL1
  309. KEY_0 LITERAL1
  310. KEY_ENTER LITERAL1
  311. KEY_ESC LITERAL1
  312. KEY_BACKSPACE LITERAL1
  313. KEY_TAB LITERAL1
  314. KEY_SPACE LITERAL1
  315. KEY_MINUS LITERAL1
  316. KEY_EQUAL LITERAL1
  317. KEY_LEFT_BRACE LITERAL1
  318. KEY_RIGHT_BRACE LITERAL1
  319. KEY_BACKSLASH LITERAL1
  320. KEY_NON_US_NUM LITERAL1
  321. KEY_SEMICOLON LITERAL1
  322. KEY_QUOTE LITERAL1
  323. KEY_TILDE LITERAL1
  324. KEY_COMMA LITERAL1
  325. KEY_PERIOD LITERAL1
  326. KEY_SLASH LITERAL1
  327. KEY_CAPS_LOCK LITERAL1
  328. KEY_F1 LITERAL1
  329. KEY_F2 LITERAL1
  330. KEY_F3 LITERAL1
  331. KEY_F4 LITERAL1
  332. KEY_F5 LITERAL1
  333. KEY_F6 LITERAL1
  334. KEY_F7 LITERAL1
  335. KEY_F8 LITERAL1
  336. KEY_F9 LITERAL1
  337. KEY_F10 LITERAL1
  338. KEY_F11 LITERAL1
  339. KEY_F12 LITERAL1
  340. KEY_PRINTSCREEN LITERAL1
  341. KEY_SCROLL_LOCK LITERAL1
  342. KEY_PAUSE LITERAL1
  343. KEY_INSERT LITERAL1
  344. KEY_HOME LITERAL1
  345. KEY_PAGE_UP LITERAL1
  346. KEY_DELETE LITERAL1
  347. KEY_END LITERAL1
  348. KEY_PAGE_DOWN LITERAL1
  349. KEY_RIGHT LITERAL1
  350. KEY_LEFT LITERAL1
  351. KEY_DOWN LITERAL1
  352. KEY_UP LITERAL1
  353. KEY_NUM_LOCK LITERAL1
  354. KEYPAD_SLASH LITERAL1
  355. KEYPAD_ASTERIX LITERAL1
  356. KEYPAD_MINUS LITERAL1
  357. KEYPAD_PLUS LITERAL1
  358. KEYPAD_ENTER LITERAL1
  359. KEYPAD_1 LITERAL1
  360. KEYPAD_2 LITERAL1
  361. KEYPAD_3 LITERAL1
  362. KEYPAD_4 LITERAL1
  363. KEYPAD_5 LITERAL1
  364. KEYPAD_6 LITERAL1
  365. KEYPAD_7 LITERAL1
  366. KEYPAD_8 LITERAL1
  367. KEYPAD_9 LITERAL1
  368. KEYPAD_0 LITERAL1
  369. KEYPAD_PERIOD LITERAL1
  370. KEY_UP_ARROW LITERAL1
  371. KEY_DOWN_ARROW LITERAL1
  372. KEY_LEFT_ARROW LITERAL1
  373. KEY_RIGHT_ARROW LITERAL1
  374. KEY_RETURN LITERAL1
  375. KEY_LEFT_CTRL LITERAL1
  376. KEY_LEFT_SHIFT LITERAL1
  377. KEY_LEFT_ALT LITERAL1
  378. KEY_LEFT_GUI LITERAL1
  379. KEY_RIGHT_CTRL LITERAL1
  380. KEY_RIGHT_SHIFT LITERAL1
  381. KEY_RIGHT_ALT LITERAL1
  382. KEY_RIGHT_GUI LITERAL1
  383. # USB Mouse
  384. moveTo KEYWORD2
  385. screenSize KEYWORD2
  386. scroll KEYWORD2
  387. set_buttons KEYWORD2
  388. isPressed KEYWORD2
  389. MOUSE_LEFT LITERAL1
  390. MOUSE_MIDDLE LITERAL1
  391. MOUSE_RIGHT LITERAL1
  392. MOUSE_ALL LITERAL1
  393. MOUSE_BACK LITERAL1
  394. MOUSE_FORWARD LITERAL1
  395. # USB Joystick
  396. Joystick KEYWORD1
  397. button KEYWORD2
  398. X KEYWORD2
  399. Y KEYWORD2
  400. position KEYWORD2
  401. Z KEYWORD2
  402. Xrotate KEYWORD2
  403. Yrotate KEYWORD2
  404. Zrotate KEYWORD2
  405. sliderLeft KEYWORD2
  406. sliderRight KEYWORD2
  407. slider KEYWORD2
  408. hat KEYWORD2
  409. useManualSend KEYWORD2
  410. # USB Disk
  411. Disk KEYWORD1
  412. claim KEYWORD2
  413. readSector KEYWORD2
  414. writeSector KEYWORD2
  415. releaseReadOnly KEYWORD2
  416. # USB MIDI
  417. usbMIDI KEYWORD1
  418. sendNoteOff KEYWORD2
  419. sendNoteOn KEYWORD2
  420. sendAfterTouchPoly KEYWORD2
  421. sendPolyPressure KEYWORD2
  422. sendControlChange KEYWORD2
  423. sendProgramChange KEYWORD2
  424. sendAfterTouch KEYWORD2
  425. sendPitchBend KEYWORD2
  426. sendSysEx KEYWORD2
  427. sendRealTime KEYWORD2
  428. sendTimeCodeQuarterFrame KEYWORD2
  429. sendSongPosition KEYWORD2
  430. sendSongSelect KEYWORD2
  431. sendTuneRequest KEYWORD2
  432. beginRpn KEYWORD2
  433. sendRpnValue KEYWORD2
  434. sendRpnValue KEYWORD2
  435. sendRpnIncrement KEYWORD2
  436. sendRpnDecrement KEYWORD2
  437. endRpn KEYWORD2
  438. beginNrpn KEYWORD2
  439. sendNrpnValue KEYWORD2
  440. sendNrpnValue KEYWORD2
  441. sendNrpnIncrement KEYWORD2
  442. sendNrpnDecrement KEYWORD2
  443. endNrpn KEYWORD2
  444. send KEYWORD2
  445. analog2velocity KEYWORD2
  446. getType KEYWORD2
  447. getCable KEYWORD2
  448. getChannel KEYWORD2
  449. getData1 KEYWORD2
  450. getData2 KEYWORD2
  451. getSysExArray KEYWORD2
  452. setHandleNoteOff KEYWORD2
  453. setHandleNoteOn KEYWORD2
  454. setHandleVelocityChange KEYWORD2
  455. setHandleControlChange KEYWORD2
  456. setHandleProgramChange KEYWORD2
  457. setHandleAfterTouch KEYWORD2
  458. setHandlePitchChange KEYWORD2
  459. NoteOff LITERAL1
  460. NoteOn LITERAL1
  461. AfterTouchPoly LITERAL1
  462. ControlChange LITERAL1
  463. ProgramChange LITERAL1
  464. AfterTouchChannel LITERAL1
  465. PitchBend LITERAL1
  466. SystemExclusive LITERAL1
  467. TimeCodeQuarterFrame LITERAL1
  468. SongPosition LITERAL1
  469. SongSelect LITERAL1
  470. TuneRequest LITERAL1
  471. Clock LITERAL1
  472. Start LITERAL1
  473. Continue LITERAL1
  474. Stop LITERAL1
  475. ActiveSensing LITERAL1
  476. SystemReset LITERAL1
  477. midiEventPacket_t LITERAL1
  478. MidiUSB KEYWORD1
  479. sendMIDI KEYWORD2
  480. # USB RawHID
  481. RawHID KEYWORD1
  482. recv KEYWORD2
  483. send KEYWORD2
  484. # USB Flight Sim Controls
  485. FlightSim KEYWORD1
  486. FlightSimCommand KEYWORD2
  487. FlightSimInteger KEYWORD2
  488. FlightSimFloat KEYWORD2
  489. FlightSimElapsedFrames KEYWORD2
  490. onChange KEYWORD2
  491. update KEYWORD2
  492. isEnabled KEYWORD2
  493. getFrameCount KEYWORD2
  494. XPlaneRef KEYWORD2
  495. # USB Touchscreen
  496. TouchscreenUSB KEYWORD1