summaryrefslogtreecommitdiff
path: root/firmware/src/pcd/rc632_highlevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/pcd/rc632_highlevel.h')
-rw-r--r--firmware/src/pcd/rc632_highlevel.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/firmware/src/pcd/rc632_highlevel.h b/firmware/src/pcd/rc632_highlevel.h
new file mode 100644
index 0000000..40e80e0
--- /dev/null
+++ b/firmware/src/pcd/rc632_highlevel.h
@@ -0,0 +1,19 @@
+#ifndef _RC632_HIGHLEVEL_H
+#define _RC632_HIGHLEVEL_H
+
+#include <sys/types.h>
+#include <librfid/rfid_asic.h>
+
+int
+rc632_turn_on_rf(struct rfid_asic_handle *handle);
+
+int
+rc632_turn_off_rf(struct rfid_asic_handle *handle);
+
+int
+rc632_read_eeprom(struct rfid_asic_handle *handle, u_int16_t addr, u_int8_t len,
+ u_int8_t *recvbuf);
+
+int rc632_get_serial(struct rfid_asic_handle *handle,
+ u_int32_t *serial);
+#endif /* _RC632_HIGHLEVEL_H */
personal git repositories of Harald Welte. Your mileage may vary