Go to the source code of this file.
#define CCID_1_8V (1<<2) |
Definition at line 99 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_2WIRE (1<<0) |
Definition at line 113 of file ccid-spec.h.
#define CCID_3V (1<<1) |
Definition at line 98 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_3WIRE (1<<1) |
Definition at line 114 of file ccid-spec.h.
#define CCID_5V (1<<0) |
Definition at line 97 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_ACTIVATE (1<<2) |
Definition at line 120 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_ATR_CONFIG (1<<1) |
Definition at line 119 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_BAUD (1<<5) |
Definition at line 123 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_CLOCK_STOP (1<<8) |
Definition at line 126 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_DT 0x21U |
Definition at line 10 of file ccid-spec.h.
Referenced by probe_descriptors().
#define CCID_ERR_ABORT 0xff |
Definition at line 15 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_AUTO_SEQ 0xf2 |
Definition at line 26 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_BAD_TCK 0xf7 |
Definition at line 21 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_BAD_TS 0xf8 |
Definition at line 20 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_BUSY 0xe0 |
Definition at line 28 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_CLASS 0xf5 |
Definition at line 23 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_DEACTIVATED 0xf3 |
Definition at line 25 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_HARDWARE 0xfb |
Definition at line 19 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_MUTE 0xfe |
Definition at line 16 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_OVERRUN 0xfc |
Definition at line 18 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_PARITY 0xfd |
Definition at line 17 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_PIN_TIMEOUT 0xf0 |
Definition at line 27 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_PROCEDURE 0xf4 |
Definition at line 24 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_PROTOCOL 0xf6 |
Definition at line 22 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_USR_MAX 0xc0 |
Definition at line 30 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_ERR_USR_MIN 0x81 |
Definition at line 29 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_FREQ (1<<4) |
Definition at line 122 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_I2C (1<<2) |
Definition at line 115 of file ccid-spec.h.
#define CCID_IFSD (1<<10) |
Definition at line 128 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_MAX_SLOTS 0x10U |
Definition at line 13 of file ccid-spec.h.
Referenced by cci_probe().
#define CCID_NAD (1<<9) |
Definition at line 127 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_PIN_MOD (1<<1) |
Definition at line 140 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_PIN_VER (1<<0) |
Definition at line 139 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_PPS (1<<7) |
Definition at line 125 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_PPS_VENDOR (1<<6) |
Definition at line 124 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_RESULT_ERROR (1 << 6) |
Definition at line 64 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_RESULT_SUCCESS (0 << 6) |
Definition at line 63 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_RESULT_TIMEOUT (2 << 6) |
Definition at line 65 of file ccid-spec.h.
Referenced by _cmd_result(), and _RDR_to_PC().
#define CCID_SLOT_STATUS_MASK 0x03 |
Definition at line 67 of file ccid-spec.h.
Referenced by _chipcard_set_status().
#define CCID_STATUS_ICC_ACTIVE 0x0 |
Definition at line 68 of file ccid-spec.h.
Referenced by _chipcard_set_status().
#define CCID_STATUS_ICC_NOT_PRESENT 0x2 |
Definition at line 70 of file ccid-spec.h.
Referenced by _chipcard_set_status().
#define CCID_STATUS_ICC_PRESENT 0x1 |
Definition at line 69 of file ccid-spec.h.
Referenced by _chipcard_set_status().
#define CCID_STATUS_RESULT_MASK 0xc0 |
Definition at line 62 of file ccid-spec.h.
Referenced by _cmd_result().
#define CCID_T0 (1<<0) |
Definition at line 102 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_T1 (1<<1) |
Definition at line 103 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_T1_APDU (1<<17) |
Definition at line 131 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_T1_APDU_EXT (1<<18) |
Definition at line 132 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_T1_TPDU (1<<16) |
Definition at line 130 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define CCID_VOLTAGE (1<<3) |
Definition at line 121 of file ccid-spec.h.
Referenced by fill_ccid_desc().
#define PC_to_RDR_Abort 0x72 |
Definition at line 59 of file ccid-spec.h.
#define PC_to_RDR_Escape 0x6b |
Definition at line 53 of file ccid-spec.h.
#define PC_to_RDR_GetParameters 0x6c |
Definition at line 54 of file ccid-spec.h.
#define PC_to_RDR_GetSlotStatus 0x65 |
Definition at line 49 of file ccid-spec.h.
Referenced by _PC_to_RDR_GetSlotStatus().
#define PC_to_RDR_IccClock 0x6e |
Definition at line 56 of file ccid-spec.h.
#define PC_to_RDR_IccPowerOff 0x63 |
Definition at line 47 of file ccid-spec.h.
Referenced by _PC_to_RDR_IccPowerOff().
#define PC_to_RDR_IccPowerOn 0x62 |
Definition at line 46 of file ccid-spec.h.
Referenced by _PC_to_RDR_IccPowerOn().
#define PC_to_RDR_Mechanical 0x71 |
Definition at line 58 of file ccid-spec.h.
#define PC_to_RDR_ResetParameters 0x6d |
Definition at line 55 of file ccid-spec.h.
#define PC_to_RDR_Secure 0x69 |
Definition at line 51 of file ccid-spec.h.
#define PC_to_RDR_SetBaudAndFreq 0x73 |
Definition at line 60 of file ccid-spec.h.
#define PC_to_RDR_SetParameters 0x61 |
Definition at line 45 of file ccid-spec.h.
#define PC_to_RDR_T0APDU 0x6a |
Definition at line 52 of file ccid-spec.h.
#define PC_to_RDR_XfrBlock 0x6f |
Definition at line 57 of file ccid-spec.h.
Referenced by _PC_to_RDR_XfrBlock().
#define RDR_to_PC_BaudAndFreq 0x84 |
Definition at line 38 of file ccid-spec.h.
#define RDR_to_PC_DataBlock 0x80 |
Definition at line 34 of file ccid-spec.h.
Referenced by _RDR_to_PC_DataBlock().
#define RDR_to_PC_Escape 0x83 |
Definition at line 37 of file ccid-spec.h.
#define RDR_to_PC_HardwareError 0x51 |
Definition at line 42 of file ccid-spec.h.
Referenced by _cci_wait_for_interrupt().
#define RDR_to_PC_NotifySlotChange 0x50 |
Definition at line 41 of file ccid-spec.h.
Referenced by _cci_wait_for_interrupt().
#define RDR_to_PC_Parameters 0x82 |
Definition at line 36 of file ccid-spec.h.
#define RDR_to_PC_SlotStatus 0x81 |
Definition at line 35 of file ccid-spec.h.
Referenced by _RDR_to_PC_SlotStatus().