X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6658905f18a1eebc148836f26c731dea9c1377dc..e6b13a5718418a4a4199235181dbbc18d290a085:/armsrc/apps.h diff --git a/armsrc/apps.h b/armsrc/apps.h index e09c8357..1dc22e51 100644 --- a/armsrc/apps.h +++ b/armsrc/apps.h @@ -19,6 +19,7 @@ extern BYTE ToSend[]; extern DWORD BigBuf[]; /// fpga.c +void FpgaSendCommand(WORD cmd, WORD v); void FpgaWriteConfWord(BYTE v); void FpgaDownloadAndGo(void); void FpgaSetupSsc(void); @@ -26,6 +27,9 @@ void SetupSpi(int mode); void FpgaSetupSscDma(BYTE *buf, int len); void SetAdcMuxFor(int whichGpio); +// Definitions for the FPGA commands. +#define FPGA_CMD_SET_CONFREG (1<<12) +#define FPGA_CMD_SET_DIVISOR (2<<12) // Definitions for the FPGA configuration word. #define FPGA_MAJOR_MODE_LF_READER (0<<5) #define FPGA_MAJOR_MODE_LF_SIMULATOR (1<<5) @@ -56,6 +60,7 @@ void SetAdcMuxFor(int whichGpio); /// iso14443.h void SimulateIso14443Tag(void); void AcquireRawAdcSamplesIso14443(DWORD parameter); +void ReadSRI512Iso14443(DWORD parameter); void SnoopIso14443(void); /// iso14443a.h