summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443a_miller.h
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-12 01:50:14 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-12 01:50:14 +0000
commit202b56a42c5e6a171ee43b469be48525d0e8e350 (patch)
tree84260eadbedd8575f158b95a43c3a481c35362ec /openpicc/application/iso14443a_miller.h
parent3d0e1db9d118f85441a9d559ba2fa7baa7195eee (diff)
Add new miller decoder (not working yet)
Vastly improve timing through CPU cycle counting. Jitter is now like 40ns (the SSC_DATA edge detection fuzziness) in 2 main clusters 4 CPU cycles (83ns) apart, plus an occasional glitch adding 4 CPU cycles in either direction git-svn-id: https://svn.openpcd.org:2342/trunk@385 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443a_miller.h')
-rw-r--r--openpicc/application/iso14443a_miller.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openpicc/application/iso14443a_miller.h b/openpicc/application/iso14443a_miller.h
new file mode 100644
index 0000000..dbd7f85
--- /dev/null
+++ b/openpicc/application/iso14443a_miller.h
@@ -0,0 +1,6 @@
+#ifndef ISO14443A_MILLER_H_
+#define ISO14443A_MILLER_H_
+
+extern int iso14443a_decode_miller(iso14443_frame *frame, const u_int8_t *sample_buf, const u_int16_t sample_buf_len);
+
+#endif /*ISO14443A_MILLER_H_*/
personal git repositories of Harald Welte. Your mileage may vary