Maxim Integrated 73S12xxF Software User Manual

Page 80

Advertising
background image

73S12xxF Software User Guide

UG_12xxF_016

80

Rev. 1.50

//This is newly added from version 1.50 release

IN ICC_HWConfigure_t ptrHWConfigure );

Struct ICC_Configure_t

{

INOUT unsigned char ucIccIFSD;

INOUT unsigned char ucIccNAD;

//this variable when initialize to 0xFF the GetResponse command will carry the CLA

//byte of the last C-APDU. UcIccCLA = 0x00 for EMV, = 0xFF for non-EMV

INOUT unsigned char ucIccCLA;

INOUT unsigned char ucIccTSTimeOut;

INOUT unsigned char ucIccRxErrorCounterT0;

INOUT unsigned char ucIccTxErrorCounterT0;

INOUT unsigned char ucIccTxErrorCounterT1;

INOUT unsigned char ucIccConfigurationByte;

};

Struct ICC_HWConfigure_t

{

IN enum ICC_HZ Icc_Hz; //Smart Card Clock Frequency desired by application.

IN unsigned char DebouncePUEnable;

IN unsigned char DebouncePDEnable;

}

Parameters

eIccId: Input parameter
Specifies which Smart Card interface is to be activated. Possible values are:

ICC_1ST 0, (Internal)
ICC_2ND 1, (External)

ICC_9TH 8 (External)

IccAddr: Input parameter
Specifies the address for the external I2C slot.

ICC_I2C0 0x40, (1st external slot)
ICC_I2C1 0x42,
ICC_I2C2 0x44,

ICC_I2C7 0x4E; (Last external slot)

IccCE: Input parameter
Specifies assignment of the INT2/INT3 pins for card events. Possible values are:

ICC_INT2_NONE

0x00,

ICC_INT2_I2C

0x01,

ICC_INT3_I2C

0x02;

bIccSetOperation: Input parameter
Specifies if the function is called to perform a Set operation (TRUE) or a Get
operation (FALSE).

pucIccIFSD: Input/output parameter
Specifies the IFSD value to be used (or being used). [Default value is 32, as
specified by ISO/IEC 7816-3]

pucIccNAD: Input/output parameter
Specifies the NAD value to be used (or being used). [Default value is 00]

pucIccCLA: Input/output parameter
Specifies the CLA value to be used (or being used) when performing a GetResponse
in case 2 / 4 in the T=0 protocol. Setting pucIccCLA equal to 0xFF indicates that the
GetResponse command shall echo the class byte of the APDU command. [Default
value is 00]

Advertising