]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/apps.h
- Added new Makefile.linux in bootrom directory
[proxmark3-svn] / armsrc / apps.h
index e09c8357d0c296c6919693fb256f928e1a3420cb..1dc22e51189e3140eddb7ba193055f7e692708b8 100644 (file)
@@ -19,6 +19,7 @@ extern BYTE ToSend[];
 extern DWORD BigBuf[];\r
 \r
 /// fpga.c\r
+void FpgaSendCommand(WORD cmd, WORD v);\r
 void FpgaWriteConfWord(BYTE v);\r
 void FpgaDownloadAndGo(void);\r
 void FpgaSetupSsc(void);\r
@@ -26,6 +27,9 @@ void SetupSpi(int mode);
 void FpgaSetupSscDma(BYTE *buf, int len);\r
 void SetAdcMuxFor(int whichGpio);\r
 \r
+// Definitions for the FPGA commands.\r
+#define FPGA_CMD_SET_CONFREG                           (1<<12)\r
+#define FPGA_CMD_SET_DIVISOR                           (2<<12)\r
 // Definitions for the FPGA configuration word.\r
 #define FPGA_MAJOR_MODE_LF_READER                      (0<<5)\r
 #define FPGA_MAJOR_MODE_LF_SIMULATOR           (1<<5)\r
@@ -56,6 +60,7 @@ void SetAdcMuxFor(int whichGpio);
 /// iso14443.h\r
 void SimulateIso14443Tag(void);\r
 void AcquireRawAdcSamplesIso14443(DWORD parameter);\r
+void ReadSRI512Iso14443(DWORD parameter);
 void SnoopIso14443(void);\r
 \r
 /// iso14443a.h\r
Impressum, Datenschutz