+// testfunctions
+void WaitForFpgaDelayQueueIsEmpty( uint16_t delay );
+void ClearFpgaShiftingRegisters(void);
+
+// States for 14B SIM command
+#define SIM_NOFIELD 0
+#define SIM_IDLE 1
+#define SIM_HALTED 2
+#define SIM_SELECTING 3
+#define SIM_HALTING 4
+#define SIM_ACKNOWLEDGE 5
+#define SIM_WORK 6
+
+#ifdef __cplusplus
+}
+#endif