Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1527 Datasheet(PDF) 3 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) 3 Page - STMicroelectronics

  AN1527 Datasheet HTML 1Page - STMicroelectronics AN1527 Datasheet HTML 2Page - STMicroelectronics AN1527 Datasheet HTML 3Page - STMicroelectronics AN1527 Datasheet HTML 4Page - STMicroelectronics AN1527 Datasheet HTML 5Page - STMicroelectronics AN1527 Datasheet HTML 6Page - STMicroelectronics AN1527 Datasheet HTML 7Page - STMicroelectronics AN1527 Datasheet HTML 8Page - STMicroelectronics AN1527 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 14 page
background image
3/14
DEVELOPING A USB SMARTCARD READER WITH ST7SCR
To finish the main loop, the CCID_BulkInMessage() function sends the Bulk-in message as an
answer to the previous Bulk-out message. The message is sent in a process that requires sev-
eral Bulk-in transactions (same concept as for the Bulk-out process).
In addition, the Abort request is implemented through the CCIDClassRequestAbort() function
called in the USB_Polling() function. For this purpose, the USB_Polling() function is called in
the PC_to_RDR_xxx() function. When this request is received from endpoint 0, a flag is set
and the command sequence number is memorized.
All commands are aborted until the next PC_to_RDR_Abort command with the correct se-
quence number is received.
1.2 FUNCTION DESCRIPTION
s
void CCID_Init(void)
This function initializes the flags and status variables for the state machine process.
s
void CCID_Init_IT(void)
This function initializes the state machine and switches off the VccCard after a USB reset
done by the PC Host. It can only be called by an interrupt routine.
s
void CCID_Suspend_IT(void)
This function initializes the state machine and the card interface hardware after a resume from
USB suspend mode.
s
void CCID_BulkOutMessage(void)
This function manages the state machine during USB Bulk Out message reception. It fills the
message buffer with a maximum of 271 bytes.
s
void CCID_BulkInMessage(void)
This function manages the state machine during the USB Bulk In message transmission. It
sends the buffer content as a message with a maximum of 271 bytes.
s
void CCID_DispatchMessage(void)
This function identifies the USB Bulk Out received message and calls the corresponding func-
tions to process it : PC_to_RDR_xxx() and RDR_to_PC_xxx().
s
void CCID_IntMessage(void)
This function verifies the slot status and sends an interrupt In message if needed.



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