summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer3a.h
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-21 04:45:15 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-21 04:45:15 +0000
commit616746c2e01a0425a9fc62d24153d88079f0daac (patch)
tree8eb82b0af16890ab4bd249d7091f655a976dbfc9 /openpicc/application/iso14443_layer3a.h
parent5cc0ed498f99d3b23c6f1b87a9a2fdcbb05dd1a9 (diff)
Commit status quo: Start adding iso 14443 layer 3a code
Currently working on fiq for pio data change to reset tc0 via swtrg git-svn-id: https://svn.openpcd.org:2342/trunk@336 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443_layer3a.h')
-rw-r--r--openpicc/application/iso14443_layer3a.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/openpicc/application/iso14443_layer3a.h b/openpicc/application/iso14443_layer3a.h
new file mode 100644
index 0000000..396ebe9
--- /dev/null
+++ b/openpicc/application/iso14443_layer3a.h
@@ -0,0 +1,18 @@
+#ifndef ISO14443_LAYER3A_H_
+#define ISO14443_LAYER3A_H_
+
+extern void iso14443_layer3a_state_machine (void *pvParameters);
+
+enum ISO14443_STATES {
+ STARTING_UP, /* Hardware has not been initialized, initialize hardware, go to power-off */
+ POWERED_OFF, /* Card not in field, wait for PLL lock */
+ IDLE, /* Card in field and powered, wait for REQA or WUPA */
+ READY, /* Perform anticollision, wait for select */
+ ACTIVE, /* Selected */
+ HALT, /* Card halted and powered, wait for WUPA */
+ READY_STAR, /* Perform anticollision, wait for select */
+ ACTIVE_STAR, /* Selected */
+ ERROR, /* Some unrecoverable error has occured */
+};
+
+#endif /*ISO14443_LAYER3A_H_*/
personal git repositories of Harald Welte. Your mileage may vary