X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/17465c9edd8e350baabda98c92fc9a0284df9631..e73e717239300d6b47d5f5d81256d8feb493299f:/armsrc/apps.h?ds=sidebyside diff --git a/armsrc/apps.h b/armsrc/apps.h index 3fdb6169..878ec526 100644 --- a/armsrc/apps.h +++ b/armsrc/apps.h @@ -7,7 +7,11 @@ #ifndef __APPS_H #define __APPS_H -/// appmain.c +// The large multi-purpose buffer, typically used to hold A/D samples, +// maybe processed in some way. +DWORD BigBuf[12000]; + +/// appmain.h void ReadMem(int addr); void AppMain(void); void SamyRun(void); @@ -22,7 +26,7 @@ extern int ToSendMax; extern BYTE ToSend[]; extern DWORD BigBuf[]; -/// fpga.c +/// fpga.h void FpgaSendCommand(WORD cmd, WORD v); void FpgaWriteConfWord(BYTE v); void FpgaDownloadAndGo(void); @@ -58,6 +62,18 @@ void SetAdcMuxFor(int whichGpio); #define FPGA_HF_ISO14443A_READER_LISTEN (3<<0) #define FPGA_HF_ISO14443A_READER_MOD (4<<0) +/// lfops.h +void AcquireRawAdcSamples125k(BOOL at134khz); +void DoAcquisition125k(BOOL at134khz); +void ModThenAcquireRawAdcSamples125k(int delay_off,int period_0,int period_1,BYTE *command); +void ReadTItag(); +void WriteTItag(DWORD idhi, DWORD idlo, WORD crc); +void AcquireTiType(void); +void AcquireRawBitsTI(void); +void SimulateTagLowFrequency(int period, int ledcontrol); +void CmdHIDsimTAG(int hi, int lo, int ledcontrol); +void CmdHIDdemodFSK(int findone, int *high, int *low, int ledcontrol); + /// iso14443.h void SimulateIso14443Tag(void); void AcquireRawAdcSamplesIso14443(DWORD parameter);