summaryrefslogtreecommitdiff
path: root/firmware/include/openpcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/openpcd.h')
-rw-r--r--firmware/include/openpcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/openpcd.h b/firmware/include/openpcd.h
index b59a245..8c8b956 100644
--- a/firmware/include/openpcd.h
+++ b/firmware/include/openpcd.h
@@ -32,6 +32,7 @@ enum openpcd_cmd_class {
OPENPCD_CMD_CLS_SSC = 0x3,
OPENPCD_CMD_CLS_PWM = 0x4,
OPENPCD_CMD_CLS_ADC = 0x5,
+ OPENPCD_CMD_CLS_LIBRFID = 0x6,
/* PICC (transponder) side */
OPENPCD_CMD_CLS_PICC = 0xe,
@@ -81,6 +82,9 @@ enum openpcd_cmd_class {
/* CMD_CLS_ADC */
#define OPENPCD_CMD_ADC_READ (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_ADC))
+/* CMD_CLS_LIBRFID */
+#define OPENPCD_CMD_LRFID_DETECT_IRQ (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_LIBRFID))
+
/* CMD_CLS_USBTEST */
#define OPENPCD_CMD_USBTEST_IN (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_USBTEST))
#define OPENPCD_CMD_USBTEST_OUT (0x2|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_USBTEST))
personal git repositories of Harald Welte. Your mileage may vary