Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1527 Datasheet(PDF) 10 Page - STMicroelectronics

Part # AN1527
Description  DEVELOPING A USB SMARTCARD READER WITH ST7SCR
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1527 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN1527 Datasheet HTML 6Page - STMicroelectronics AN1527 Datasheet HTML 7Page - STMicroelectronics AN1527 Datasheet HTML 8Page - STMicroelectronics AN1527 Datasheet HTML 9Page - STMicroelectronics AN1527 Datasheet HTML 10Page - STMicroelectronics AN1527 Datasheet HTML 11Page - STMicroelectronics AN1527 Datasheet HTML 12Page - STMicroelectronics AN1527 Datasheet HTML 13Page - STMicroelectronics AN1527 Datasheet HTML 14Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 10 / 14 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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