From 9697edce01bfaa59d5b68d3b82a8a03f73e35a4f Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Fri, 25 Aug 2006 20:29:20 +0000 Subject: commit missing header file git-svn-id: https://svn.openpcd.org:2342/trunk@137 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/include/openpicc.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 openpcd/firmware/include/openpicc.h (limited to 'openpcd') diff --git a/openpcd/firmware/include/openpicc.h b/openpcd/firmware/include/openpicc.h new file mode 100644 index 0000000..2a9f1bc --- /dev/null +++ b/openpcd/firmware/include/openpicc.h @@ -0,0 +1,31 @@ +#ifndef _OPENPICC_H +#define _OPENPICC_H + +/* OpenPICC Register definition + * (C) 2006 by Harald Welte + */ + +enum openpicc_register { + OPICC_REG_MODE, /* operational mode */ + OPICC_REG_ISO14443A_FDT_0, /* FDT (after 0) in carrier cycles */ + OPICC_REG_ISO14443A_FDT_1, /* FDT (after 1) in carrier cycles */ + OPICC_REG_BITCLK_PHASE_CORR, /* signed 8bit phase correction */ + OPICC_REG_SPEED_RX, + OPICC_REG_SPEED_TX, + OPICC_REG_UID_PUPI, /* UID (14443A) / PUPI (14443B) */ +}; + +enum openpicc_reg_mode { + OPICC_MODE_14443A, + OPICC_MODE_14443B, + OPICC_MODE_LOWLEVEL, /* low-level bit-transceive mode TBD */ +}; + +enum openpicc_reg_speed { + OPICC_SPEED_14443_106K, + OPICC_SPEED_14443_212K, + OPICC_SPEED_14443_424K, + OPICC_SPEED_14443_848K, +}; + +#endif /* _OPENPICC_H */ -- cgit v1.2.3