]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/graph.h
Removed last trace of crypto from makefile
[proxmark3-svn] / client / graph.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // Graph utilities
9 //-----------------------------------------------------------------------------
10
11 #ifndef GRAPH_H__
12 #define GRAPH_H__
13 #include <stdint.h>
14
15 void AppendGraph(int redraw, int clock, int bit);
16 int ClearGraph(int redraw);
17 //int DetectClock(int peak);
18 size_t getFromGraphBuf(uint8_t *buff);
19 int GetClock(const char *str, int peak, int verbose);
20 int GetNRZpskClock(const char *str, int peak, int verbose);
21 void setGraphBuf(uint8_t *buff, size_t size);
22
23 bool HasGraphData();
24 void DetectHighLowInGraph(int *high, int *low, bool addFuzz);
25
26 #define MAX_GRAPH_TRACE_LEN (1024*128)
27 extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
28 extern int GraphTraceLen;
29 #endif
Impressum, Datenschutz