Electronic Components Datasheet Search |
|
AN1527 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
AN1527 Datasheet(HTML) 10 Page - STMicroelectronics |
10 / 14 page 10/14 DEVELOPING A USB SMARTCARD READER WITH ST7SCR s void CRD_StartWaitingTime(void) This function starts the Waiting Timer. The bWaitingTimeFlag software flag is set by an inter- rupt when the count is finished. For more information, please refer to the crd.h file. This counter is used by the ICC level functions to determine the end of the transmission. s void CRD_StopWaitingTime(void) This function stops the Waiting Timer and resets the corresponding flag. s void CRD_WaitingTime(unsigned long WaitingTimeInEtu) This function creates a wait loop for WaitingTimeInEtu. The waiting time is: – WaitingTimeInEtu * Etu This function is used to set the VCC card stabilization delay or delays during the reset proce- dure. The Etu value is set by the CRD_SetEtu function. s void CRD_InitReceive(unsigned int ReceiveBufSize, unsigned char * pBuffer) This function will configure the CRD for reception and begin the process. – pBuffer is the address of the buffer where the data will be copied. – ReceiveBufSize is the size of the buffer. If the ICC transmits more bytes than the number specified in the ReceiveBufSize variable, data saving is stopped and a flag is set. This reception is done entirely by interrupt processing. s unsigned int CRD_NumberOfBytesReceived(void) This function returns the number of bytes already received during the reception process. s unsigned int CRD_EndReceive(void) This function stops the reception process and returns the number of bytes received and copied in the buffer. s void CRD_InitTransmit(unsigned int TransmitBufSize, unsigned char * pBuffer) This function configures the CRD for transmission and begins the process. – pBuffer is the address of the buffer containing the data to be transmitted. – TransmitBufSize is the number of bytes to be transmitted. This transmission is entirely done by interrupt processing. s unsigned int CRD_NumberOfBytesToTransmit(void) This function returns the remaining number of bytes to be transmitted. |
Similar Part No. - AN1527 |
|
Similar Description - AN1527 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |