summaryrefslogtreecommitdiff
path: root/include/librfid/rfid_asic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/librfid/rfid_asic.h')
-rw-r--r--include/librfid/rfid_asic.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/librfid/rfid_asic.h b/include/librfid/rfid_asic.h
index 3686a7c..113eb19 100644
--- a/include/librfid/rfid_asic.h
+++ b/include/librfid/rfid_asic.h
@@ -5,6 +5,7 @@ enum rfid_frametype;
#include <librfid/rfid_asic_rc632.h>
+/* a low-level transport, over which the ASIC layer can talk to its ASIC */
struct rfid_asic_transport {
char *name;
union {
@@ -12,12 +13,21 @@ struct rfid_asic_transport {
} priv;
};
+/* An instance handle to 'struct rfid_asic_transport' */
struct rfid_asic_transport_handle {
void *data; /* handle to stuff like even lower layers */
struct rfid_asic_transport *rat;
};
+/* Some implementation-specific data. A reader will specify one of these for
+ * ASIC-specific parameters such as e.g. RC632 mod conductance */
+
+struct rfid_asic_implementation {
+ union {
+ struct rfid_asic_rc632_impl rc632;
+ } priv;
+};
struct rfid_asic_handle {
struct rfid_asic_transport_handle *rath;
personal git repositories of Harald Welte. Your mileage may vary