move librfid to new location in repository
[librfid] / include / rfid / rfid_asic.h
1 #ifndef _RFID_ASIC_H
2 #define _RFID_ASIC_H
3
4 #include <rfid/rfid_asic_rc632.h>
5
6 struct rfid_asic_transport {
7         char *name;
8         union {
9                 struct rfid_asic_rc632_transport rc632;
10         } priv;
11 };
12
13 struct rfid_asic_transport_handle {
14         void *data;             /* handle to stuff like even lower layers */
15
16         struct rfid_asic_transport *rat;
17 };
18
19
20 struct rfid_asic_handle {
21         struct rfid_asic_transport_handle *rath;
22         unsigned int fc;
23         unsigned int mtu;
24         unsigned int mru;
25
26         union {
27                 struct rfid_asic_rc632_handle rc632;
28                 //struct rfid_asic_rc531_handle rc531;
29         } priv;
30         struct rfid_asic *asic;
31 };
32
33
34 struct rfid_asic {
35         char *name;
36         unsigned int fc;                /* carrier frequency */
37         union {
38                 struct rfid_asic_rc632 rc632;
39                 //struct rfid_asic_rc531 rc531;
40         } priv;
41 };
42
43 #endif /* _RFID_ASIC_H */