PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

3 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. #######################################
  2. # Syntax Coloring Map for library MFRC522
  3. #######################################
  4. #######################################
  5. # KEYWORD1 Classes, datatypes, and C++ keywords
  6. #######################################
  7. MFRC522 KEYWORD1
  8. MFRC522Extended KEYWORD1
  9. PCD_Register KEYWORD1
  10. PCD_Command KEYWORD1
  11. PCD_RxGain KEYWORD1
  12. PICC_Command KEYWORD1
  13. MIFARE_Misc KEYWORD1
  14. PICC_Type KEYWORD1
  15. StatusCode KEYWORD1
  16. TagBitRates KEYWORD1
  17. Uid KEYWORD1
  18. CardInfo KEYWORD1
  19. MIFARE_Key KEYWORD1
  20. PcbBlock KEYWORD1
  21. #######################################
  22. # KEYWORD2 Methods and functions
  23. #######################################
  24. # Basic interface functions for communicating with the MFRC522
  25. PCD_WriteRegister KEYWORD2
  26. PCD_WriteRegister KEYWORD2
  27. PCD_ReadRegister KEYWORD2
  28. PCD_ReadRegister KEYWORD2
  29. setBitMask KEYWORD2
  30. PCD_SetRegisterBitMask KEYWORD2
  31. PCD_ClearRegisterBitMask KEYWORD2
  32. PCD_CalculateCRC KEYWORD2
  33. # Functions for manipulating the MFRC522
  34. PCD_Init KEYWORD2
  35. PCD_Reset KEYWORD2
  36. PCD_AntennaOn KEYWORD2
  37. PCD_AntennaOff KEYWORD2
  38. PCD_GetAntennaGain KEYWORD2
  39. PCD_SetAntennaGain KEYWORD2
  40. PCD_PerformSelfTest KEYWORD2
  41. # Functions for communicating with PICCs
  42. PCD_TransceiveData KEYWORD2
  43. PCD_CommunicateWithPICC KEYWORD2
  44. PICC_RequestA KEYWORD2
  45. PICC_WakeupA KEYWORD2
  46. PICC_REQA_or_WUPA KEYWORD2
  47. PICC_Select KEYWORD2
  48. PICC_HaltA KEYWORD2
  49. PICC_RATS KEYWORD2
  50. PICC_PPS KEYWORD2
  51. # Functions for communicating with ISO/IEC 14433-4 cards
  52. TCL_Transceive KEYWORD2
  53. TCL_TransceiveRBlock KEYWORD2
  54. TCL_Deselect KEYWORD2
  55. # Functions for communicating with MIFARE PICCs
  56. PCD_Authenticate KEYWORD2
  57. PCD_StopCrypto1 KEYWORD2
  58. MIFARE_Read KEYWORD2
  59. MIFARE_Write KEYWORD2
  60. MIFARE_Increment KEYWORD2
  61. MIFARE_Ultralight_Write KEYWORD2
  62. MIFARE_GetValue KEYWORD2
  63. MIFARE_SetValue KEYWORD2
  64. PCD_NTAG216_AUTH KEYWORD2
  65. # Support functions
  66. PCD_MIFARE_Transceive KEYWORD2
  67. GetStatusCodeName KEYWORD2
  68. PICC_GetType KEYWORD2
  69. PICC_GetTypeName KEYWORD2
  70. # Support functions for debuging
  71. PCD_DumpVersionToSerial KEYWORD2
  72. PICC_DumpToSerial KEYWORD2
  73. PICC_DumpDetailsToSerial KEYWORD2
  74. PICC_DumpMifareClassicToSerial KEYWORD2
  75. PICC_DumpMifareClassicSectorToSerial KEYWORD2
  76. PICC_DumpMifareUltralightToSerial KEYWORD2
  77. PICC_DumpISO14443_4 KEYWORD2
  78. # Advanced functions for MIFARE
  79. MIFARE_SetAccessBits KEYWORD2
  80. MIFARE_OpenUidBackdoor KEYWORD2
  81. MIFARE_SetUid KEYWORD2
  82. MIFARE_UnbrickUidSector KEYWORD2
  83. # Convenience functions - does not add extra functionality
  84. PICC_IsNewCardPresent KEYWORD2
  85. PICC_ReadCardSerial KEYWORD2
  86. #######################################
  87. # KEYWORD3 setup and loop functions, as well as the Serial keywords
  88. #######################################
  89. #######################################
  90. LITERAL1 Constants
  91. #######################################
  92. CommandReg LITERAL1
  93. ComIEnReg LITERAL1
  94. DivIEnReg LITERAL1
  95. ComIrqReg LITERAL1
  96. DivIrqReg LITERAL1
  97. ErrorReg LITERAL1
  98. Status1Reg LITERAL1
  99. Status2Reg LITERAL1
  100. FIFODataReg LITERAL1
  101. FIFOLevelReg LITERAL1
  102. WaterLevelReg LITERAL1
  103. ControlReg LITERAL1
  104. BitFramingReg LITERAL1
  105. CollReg LITERAL1
  106. ModeReg LITERAL1
  107. TxModeReg LITERAL1
  108. RxModeReg LITERAL1
  109. TxControlReg LITERAL1
  110. TxASKReg LITERAL1
  111. TxSelReg LITERAL1
  112. RxSelReg LITERAL1
  113. RxThresholdReg LITERAL1
  114. DemodReg LITERAL1
  115. MfTxReg LITERAL1
  116. MfRxReg LITERAL1
  117. SerialSpeedReg LITERAL1
  118. CRCResultRegH LITERAL1
  119. CRCResultRegL LITERAL1
  120. ModWidthReg LITERAL1
  121. RFCfgReg LITERAL1
  122. GsNReg LITERAL1
  123. CWGsPReg LITERAL1
  124. ModGsPReg LITERAL1
  125. TModeReg LITERAL1
  126. TPrescalerReg LITERAL1
  127. TReloadRegH LITERAL1
  128. TReloadRegL LITERAL1
  129. TCounterValueRegH LITERAL1
  130. TCounterValueRegL LITERAL1
  131. TestSel1Reg LITERAL1
  132. TestSel2Reg LITERAL1
  133. TestPinEnReg LITERAL1
  134. TestPinValueReg LITERAL1
  135. TestBusReg LITERAL1
  136. AutoTestReg LITERAL1
  137. VersionReg LITERAL1
  138. AnalogTestReg LITERAL1
  139. TestDAC1Reg LITERAL1
  140. TestDAC2Reg LITERAL1
  141. TestADCReg LITERAL1
  142. PCD_Idle LITERAL1
  143. PCD_Mem LITERAL1
  144. PCD_GenerateRandomID LITERAL1
  145. PCD_CalcCRC LITERAL1
  146. PCD_Transmit LITERAL1
  147. PCD_NoCmdChange LITERAL1
  148. PCD_Receive LITERAL1
  149. PCD_Transceive LITERAL1
  150. PCD_MFAuthent LITERAL1
  151. PCD_SoftReset LITERAL1
  152. RxGain_18dB LITERAL1
  153. RxGain_23dB LITERAL1
  154. RxGain_18dB_2 LITERAL1
  155. RxGain_23dB_2 LITERAL1
  156. RxGain_33dB LITERAL1
  157. RxGain_38dB LITERAL1
  158. RxGain_43dB LITERAL1
  159. RxGain_48dB LITERAL1
  160. RxGain_min LITERAL1
  161. RxGain_avg LITERAL1
  162. RxGain_max LITERAL1
  163. PICC_CMD_REQA LITERAL1
  164. PICC_CMD_WUPA LITERAL1
  165. PICC_CMD_CT LITERAL1
  166. PICC_CMD_SEL_CL1 LITERAL1
  167. PICC_CMD_SEL_CL2 LITERAL1
  168. PICC_CMD_SEL_CL3 LITERAL1
  169. PICC_CMD_HLTA LITERAL1
  170. PICC_CMD_RATS LITERAL1
  171. PICC_CMD_MF_AUTH_KEY_A LITERAL1
  172. PICC_CMD_MF_AUTH_KEY_B LITERAL1
  173. PICC_CMD_MF_READ LITERAL1
  174. PICC_CMD_MF_WRITE LITERAL1
  175. PICC_CMD_MF_DECREMENT LITERAL1
  176. PICC_CMD_MF_INCREMENT LITERAL1
  177. PICC_CMD_MF_RESTORE LITERAL1
  178. PICC_CMD_MF_TRANSFER LITERAL1
  179. PICC_CMD_UL_WRITE LITERAL1
  180. MF_ACK LITERAL1
  181. MF_KEY_SIZE LITERAL1
  182. PICC_TYPE_UNKNOWN LITERAL1
  183. PICC_TYPE_ISO_14443_4 LITERAL1
  184. PICC_TYPE_ISO_18092 LITERAL1
  185. PICC_TYPE_MIFARE_MINI LITERAL1
  186. PICC_TYPE_MIFARE_1K LITERAL1
  187. PICC_TYPE_MIFARE_4K LITERAL1
  188. PICC_TYPE_MIFARE_UL LITERAL1
  189. PICC_TYPE_MIFARE_PLUS LITERAL1
  190. PICC_TYPE_MIFARE_DESFIRE LITERAL1
  191. PICC_TYPE_TNP3XXX LITERAL1
  192. PICC_TYPE_NOT_COMPLETE LITERAL1
  193. STATUS_OK LITERAL1
  194. STATUS_ERROR LITERAL1
  195. STATUS_COLLISION LITERAL1
  196. STATUS_TIMEOUT LITERAL1
  197. STATUS_NO_ROOM LITERAL1
  198. STATUS_INTERNAL_ERROR LITERAL1
  199. STATUS_INVALID LITERAL1
  200. STATUS_CRC_WRONG LITERAL1
  201. STATUS_MIFARE_NACK LITERAL1
  202. FIFO_SIZE LITERAL1
  203. BITRATE_106KBITS LITERAL1
  204. BITRATE_212KBITS LITERAL1
  205. BITRATE_424KBITS LITERAL1
  206. BITRATE_848KBITS LITERAL1