AN1527 STMICROELECTRONICS [STMicroelectronics], AN1527 Datasheet - Page 5

no-image

AN1527

Manufacturer Part Number
AN1527
Description
DEVELOPING A USB SMARTCARD READER WITH ST7SCR
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
This function verifies the PC_T O_RD R_ESCAPE com mand format and calls the
IFD_Escape() function (from the Interface Device level). This PC_to_RDR function returns an
error code (from IFD_Escape(), for example).
This function verifies the PC_TO_RDR_ICCCLOCK command format and calls the
IFD_SetClock() function (from the Interface Device level). This PC_to_RDR function returns
an error code (from IFD_SetClock(), for example).
This function verifies the PC_TO_RDR_ABORT command format, checks the abort condi-
tions and sets the corresponding flag. It returns the corresponding error code.
This function fills the whole command buffer header including the error code given as input to
prepare the RDR_TO_PC_DATABLOCK message.
This function fills the whole command buffer header including the error code given as input to
prepare the RDR_TO_PC_SLOTSTATUS message.
This function fills the whole command buffer header including the error code given as input to
prepare the RDR_TO_PC_PARAMETERS message and call the IFD_GetParameters() func-
tion to fill the message data field.
This function fills the whole command buffer header including the error code given as input to
prepare the RDR_TO_PC_ESCAPE message.
unsigned char PC_to_RDR_Escape(void)
unsigned char PC_to_RDR_IccClock(void)
unsigned char PC_to_RDR_Abort(void)
void RDR_to_PC_DataBlock(unsigned char ErrorCode)
void RDR_to_PC_SlotStatus(unsigned char ErrorCode)
void RDR_to_PC_Parameters(unsigned char ErrorCode)
void RDR_to_PC_Escape(unsigned char ErrorCode)
DEVELOPING A USB SMARTCARD READER WITH ST7SCR
5/14

Related parts for AN1527