![]() |
Electronic Components Datasheet Search |
|
AN1527 Datasheet(PDF) 11 Page - STMicroelectronics |
|
|
AN1527 Datasheet(HTML) 11 Page - STMicroelectronics |
11 / 14 page ![]() 11/14 DEVELOPING A USB SMARTCARD READER WITH ST7SCR s unsigned int CRD_EndTransmit(void) This function finishes the transmission by disabling the interrupt. This function returns the re- maining number of bytes to be transmitted. 3.3 INTERRUPT FUNCTIONS The following two functions are executed when an interrupt occurs: s void INT_UART(void) This function is used for all CRD interrupts: parity, receive, transmit, waitingtime, voltage_error, over_current and transmit_empty. – PARITY: A flag is set if 4 automatic retries have failed. – WAITINGTIME: A flag is set when a counter overflow is detected. – VOLTAGE and CURRENT: The corresponding flags are set, the corresponding interrupt is invalidated and the VCC Card is switched OFF. – TRANSMIT: The transmit register is loaded with the next byte to be sent. If the last byte is sent, the interrupt is disabled and a flag is set. – RECEIVE: This function uses a Protocol Type Flag (software) to identify the received bytes and manage the T=0 and the T=1 special cases. – TRANSMITEMPTY: Not used. s void INT_CARDDET(void) This function will set a flag with Rebound Management (see the Time Base Unit (TBU) func- tion). 3.4 ICC FUNCTIONS The following functions execute a global action on the ICC. s unsigned char ICC_PowerOnAsync(unsigned char Voltage) This function executes the Power-on sequence in compliance with ISO 7816 specifications for asynchronous ICCs, including the generation of the rising edge for the reset signal. The VCC Card voltage is either 1.8 volts, 3.0 volts or 5.0 volts depending on the value of the Voltage variable: – 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: |
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 |