initial checkin of harald welte's original librfid project
[rfid/librfid.git] / include / librfid / rfid_reader_cm5121.h
1 #ifndef _RFID_READER_CM5121_H
2 #define _RFID_READER_CM5121_H
3
4 #define CM5121_CW_CONDUCTANCE   0x3f
5 #define CM5121_MOD_CONDUCTANCE  0x3f
6 #define CM5121_14443A_BITPHASE  0xa9
7 #define CM5121_14443A_THRESHOLD 0xff
8
9 #define CM5121_14443B_BITPHASE  0xad
10 #define CM5121_14443B_THRESHOLD 0xff
11
12
13 extern int
14 PC_to_RDR_Escape(void *handle,
15                 const unsigned char *tx_buf, unsigned int tx_len,
16                 unsigned char *rx_buf, unsigned int *rx_len);
17
18 extern struct rfid_reader rfid_reader_cm5121;
19 // extern struct rfid_asic_transport cm5121_ccid;
20
21 #endif