Icc_configure(), E 82) – Maxim Integrated 73S12xxF Software User Manual
Page 82

73S12xxF Software User Guide
UG_12xxF_016
82
Rev. 1.50
DebouncePDEnable: Input parameter
The higher order (most significant) nibble of this byte enables (SC_DEBOUNCEON)
or disables (SC_DEBOUNCEOFF) card debounce. The low order (least significant)
nibble of this byte enables (TRUE) or disables (FALSE) the Pull-Down.
Return Codes
AR_ICC_OK Successful operation.
ICC_Configure()
Purpose
Get / Set the configurable protocol parameters of the specified Smart Card interface.
This function was developed to support different conformance tests. This API should
be called prior to calling ICC_Enable. It is the same as ICC_Configure_Ext, above,
with default values for IccHz (ICC_3600KHZ), DebouncePUEnable =
SC_DEBOUNCEON | TRUE, and DebouncePDEnable = SC_DEBOUNCEOFF | FALSE.
Synopsis
AR_ICC_RC ICC_Configure (
IN enum ICC_ID eIccId,
IN enum ICC_ADDR IccAddr,
IN enum ICC_CARDEVENT IccCE,
IN BOOLEAN bIccSetOperation,
INOUT ICC_Configure_t *ptrConfigure );
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;
};
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. Possible values are:
ICC_I2C0 0x40, (1st external slot)
ICC_I2C1 0x42,
ICC_I2C2 0x44,
…
ICC_I2C7 0x4E; (Last external slot)
IccCE: Input parameter
Specifies the 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).