diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-05 05:03:36 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-05 05:03:36 +0000 |
commit | 6304718e371e590b09e176c05df21fc5fb631cec (patch) | |
tree | 49004ef275322a779594d8ebd5d69c9da8ba1d4e /openpicc/application/iso14443a_diffmiller.h | |
parent | 3ee3c4a649545d1f132bca61cc7484f0d5c92638 (diff) |
Port over the differential miller decoder from the sniffonly host tool
Move clock switch to its own header file
Specify default (and for non-clock switching capable hardware: single) clock source in hardware definitions
git-svn-id: https://svn.openpcd.org:2342/trunk@443 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443a_diffmiller.h')
-rw-r--r-- | openpicc/application/iso14443a_diffmiller.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openpicc/application/iso14443a_diffmiller.h b/openpicc/application/iso14443a_diffmiller.h new file mode 100644 index 0000000..f5336d6 --- /dev/null +++ b/openpicc/application/iso14443a_diffmiller.h @@ -0,0 +1,12 @@ +#ifndef ISO14443A_DIFFMILLER_H_ +#define ISO14443A_DIFFMILLER_H_ + +#include "iso14443.h" + +struct diffmiller_state; + +extern int iso14443a_decode_diffmiller(struct diffmiller_state *state, iso14443_frame *frame, + const u_int32_t buffer[], unsigned int *offset, const unsigned int buflen); +extern struct diffmiller_state *iso14443a_init_diffmiller(int pauses_count); + +#endif /*ISO14443A_DIFFMILLER_H_*/ |