AN1527 STMICROELECTRONICS [STMicroelectronics], AN1527 Datasheet - Page 8

no-image

AN1527

Manufacturer Part Number
AN1527
Description
DEVELOPING A USB SMARTCARD READER WITH ST7SCR
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
DEVELOPING A USB SMARTCARD READER WITH ST7SCR
This function switches ON the V
three possible voltage values:
– CRD_Voltage18V (for 1.8 volts)
– CRD_Voltage3V (for 3.0 volts)
– CRD_Voltage5V (for 5.0 volts)
This function returns one of the following error codes:
– Slot_No_Error
– SlotError_HW_Error
– SlotError_ICC_Mute (no card present)
This function switches OFF the V
ware.
This function sets the operating mode of the CRD. There are two operating modes:
– CRD_ManualMode
– CRD_UARTMode
This function sets the convention used by the CRD to communicate with the ICC. There are
two conventions:
– CRD_DirectConv
– CRD_InverseConv
This function returns the current status of the slot (only 1 slot is possible with this device).
There are three possible states for the slot:
– CRD_NotPresent
– CRD_PresentInactive
– CRD_PresentActive
8/14
unsigned char CRD_VccOn(unsigned char Voltage)
void CRD_VccOff(void)
void CRD_SetMode(unsigned char Mode)
void CRD_SetConvention(unsigned char Convention)
unsigned char CRD_GetSlotStatus(void)
CC
CC
Card with value given by the Voltage variable. There are
Card. The inactivating sequence is managed by hard-

Related parts for AN1527