Maxim Integrated 73S12xxF Software User Manual
Page 47

UG_12xxF_016
73S12xxF Software User Guide
Rev. 1.50
47
#define BPS9600
9600L // 0x00002580 (9600 +- 1%)
#define BPS14400
14400L
#define BPS19200
19200L
#define BPS28800
28800L
#define BPS38400
38400L
#define BPS57600
57600L
#define BPS57688
57688L
#define BPS115200
115200L // 0x0001C200 (115200 +- 1%)
#define BPS116129
116129L // 0x0001C200
#define BPS225000
225000L
#define BPS230400
230400L
// Defines for Mechanical.
#define ACCEPT
0x00000001L
#define EJECT
0x00000002L
#define CAPTURE
0x00000004L
#define LOCK
0x00000008L
// Defines for Features.
#define ATR_CONFIGURATION 0x00000002L
#define INSERT_ACTIVATION
0x00000004L
#define VOLTAGE_SELECTION 0x00000008L
#define CLOCK_FREQ_CHANGE
0x00000010L
#define BIT_RATE_CHANGE
0x00000020L
#define AUTO_NEGOTIATION
0x00000040L
#define AUTO_PPS
0x00000080L
#define CLOCK_STOP
0x00000100L
#define NAD_NOT_NULL
0x00000200L
#define AUTO_IFSD
0x00000400L
#define TPDU
0x00010000L
#define SHORT_APDU
0x00020000L
#define EXTENDED_APDU
0x00040000L
// Defines for LcdLayout
#define NO_LCD
0x0000
#define LCD_ROWS
0xFF00
#define LCD_COLS
0x00FF
// Defines for PinSupport.
#define NO_PIN
0x00
#define VERIFY
0x01
#define MODIFY
0x02
struct USB_CCID_t
{
unsigned char Length;
// Always 54 (0x36).
unsigned char DescriptorType;
// Always CCID_DESCRIPTOR = 0x21
unsigned int
CCID;
// 0x0100 CCID version number.
unsigned char MaxSlotIndex;
// Application specific.
unsigned char VoltageSupport;
// Application specific.
unsigned long Protocols;
// Application specific.
unsigned long DefaultClock;
// 3600kHz (0x00000E10).
unsigned long MaximumClock;
// 7200kHz (0x00001C20)
unsigned char NumClockSupported; // 3. (1800, 3600 and 7200 kHz).
unsigned long DataRate;
// 9600 bps (0x00002580).
unsigned long MaxDataRate;
// 115200 bps (0x0001C200).