diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-14 04:55:15 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-14 04:55:15 +0000 |
commit | e2e37bea66206adefbb2fc97fcbfb71c1a3cfbe7 (patch) | |
tree | 8e1edc0418be46c82e59e5782c9534ebf3d5651c /openpicc/application/ssc.h | |
parent | 9615190a75ab0304d37701e97947ffe36be2d345 (diff) |
Add T/C based receiver code with integrated miller decoder
Integrate T/C receiver into iso14443 layer 2a
Add state field to iso14443_frame, rename ssc buffer state constants
Sniffer seems to work with the new code
git-svn-id: https://svn.openpcd.org:2342/trunk@452 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/ssc.h')
-rw-r--r-- | openpicc/application/ssc.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/openpicc/application/ssc.h b/openpicc/application/ssc.h index 9edec64..e99d444 100644 --- a/openpicc/application/ssc.h +++ b/openpicc/application/ssc.h @@ -21,17 +21,17 @@ typedef enum { extern int ssc_get_metric(ssc_metric metric, char **description, int *value); typedef enum { - CALLBACK_RX_STARTING, // *data is ssh_handle_t *sh - CALLBACK_RX_STOPPED, // *data is ssh_handle_t *sh - CALLBACK_RX_FRAME_BEGIN, // *data is int *end_asserted - // may set *end_asserted = 1 to force tell the IRQ handler - // that you have detected the end of reception - CALLBACK_RX_FRAME_ENDED, // *data is ssc_dma_rx_buffer *buffer - CALLBACK_TX_FRAME_BEGIN, - CALLBACK_TX_FRAME_ENDED, - CALLBACK_TX_FRAME_ABORTED, - CALLBACK_SETUP, // *data is ssh_handle_t *sh - CALLBACK_TEARDOWN, // *data is ssh_handle_t *sh + SSC_CALLBACK_RX_STARTING, // *data is ssh_handle_t *sh + SSC_CALLBACK_RX_STOPPED, // *data is ssh_handle_t *sh + SSC_CALLBACK_RX_FRAME_BEGIN, // *data is int *end_asserted + // may set *end_asserted = 1 to force tell the IRQ handler + // that you have detected the end of reception + SSC_CALLBACK_RX_FRAME_ENDED, // *data is ssc_dma_rx_buffer *buffer + SSC_CALLBACK_TX_FRAME_BEGIN, + SSC_CALLBACK_TX_FRAME_ENDED, + SSC_CALLBACK_TX_FRAME_ABORTED, + SSC_CALLBACK_SETUP, // *data is ssh_handle_t *sh + SSC_CALLBACK_TEARDOWN, // *data is ssh_handle_t *sh } ssc_callback_reason; typedef void (*ssc_callback_t)(ssc_callback_reason reason, void *data); |