diff options
author | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2006-08-16 00:20:28 +0000 |
---|---|---|
committer | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2006-08-16 00:20:28 +0000 |
commit | 96c3aa17bc0a4aa1e90d8332e9999d7634e705b4 (patch) | |
tree | ba240ed29fceec86531e27c3b3d35937a1a8a48c /include | |
parent | 6af93d940860bf01a8cb11eb592fd97e2eb11b35 (diff) |
add some definitions on ISO144443A frame waiting time
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1863 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'include')
-rw-r--r-- | include/librfid/rfid_layer2_iso14443a.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/librfid/rfid_layer2_iso14443a.h b/include/librfid/rfid_layer2_iso14443a.h index 50a6f43..0ff84eb 100644 --- a/include/librfid/rfid_layer2_iso14443a.h +++ b/include/librfid/rfid_layer2_iso14443a.h @@ -75,6 +75,14 @@ enum iso14443a_state { ISO14443A_STATE_SELECTED, }; +/* Section 6.1.2 values in usec, rounded up to next usec */ +#define ISO14443A_FDT_ANTICOL_LAST1 92 /* 1236 / fc = 91.15 usec */ +#define ISO14443A_FDT_ANTICOL_LAST0 87 /* 1172 / fc = 86.43 usec */ + +#define ISO14443_CARRIER_FREQ 13560000 +#define ISO14443A_FDT_OTHER_LAST1(n) (((n*128+84)*1000000)/ISO14443_CARRIER_FREQ) + + #include <librfid/rfid_layer2.h> struct rfid_layer2 rfid_layer2_iso14443a; |