73S1209F Data Sheet
DS_1209F_004
Smart Card Interrupt Register (SCInt): 0xFE01 Å 0x00
When the smart card interrupt is asserted, the firmware can read this register to determine the actual
cause of the interrupt. The bits are cleared when this register is read. Each interrupt can be disabled by
the Smart Card Interrupt Enable register. Error processing must be handled by the firmware. This
register relates to the interface that is active – see the SCSel register (above).
Table 74: The SCInt Register
MSB
LSB
TXEVT TXSENT TXERR RXERR
WAITTO CRDEVT VCCTMRI RXDAV
Bit
Symbol
Function
Wait Timeout – An ATR or card wait timeout has occurred. In sync mode,
this interrupt is asserted when the RLen counter (it advances on falling
edges of CLK/ETU) reaches the loaded (max) value. This bit is cleared
when the SCInt register is read. When running in Synchronous Clock Stop
Mode, this bit becomes RLenINT interrupt (set when the Rlen counter
reaches the terminal count).
SCInt.7
WAITTO
Card Event – A card event is signaled via pin DETCARD either when the
Card was inserted or removed (read the CRDCtl register to determine card
SCInt.6
SCInt.5
CRDEVT presence) or there was a fault condition in the interface circuitry. This bit is
functional even if the smart card logic clock is disabled and when the
PWRDN bit is set. This bit is cleared when the SCInt register is read.
VCC Timer – This bit is set when the VCCTMR times out. This bit is cleared
VCCTMRI
when the SCInt register is read.
Rx Data Available – Data was received from the smart card because the Rx
FIFO is not empty. In bypass mode, this interrupt is generated on a falling
edge of the smart card I/O line. After receiving this interrupt in bypass
mode, firmware should disable it until the firmware has received the entire
SCInt.4
RXDAV
byte and is waiting for the next start delimiter. This bit is cleared when there
is no RX data available in the RX FIFO.
TX Event – Set whenever the TXEMTY or TXFULL bits are set in the
TXEVNT
SCInt.3
SCInt.2
SRXCtl SFR. This bit is cleared when the STXCtl register is read.
TX Sent – Set whenever the ISO UART has successfully transmitted a byte
to the smart card. Also set when a CRC/LRC byte is sent in T=1 mode. Will
not be set in T=0 when a break is detected at the end of a byte (when break
TXSENT
detection is enabled). This bit is cleared when the SCInt register is read.
TX Error – An error was detected during the transmission of data to the
smart card as indicated by either BREAKD or TXUNDR bit being set in the
TXERR
SCInt.1
SCInt.0
STXCtl SFR. Additional information can be found in that register
description. This bit is cleared when the STXCtl register is read.
RX Error – An error was detected during the reception of data from the
smart card. Additional information can be found in the SRXCtl register. This
RXERR
interrupt will be asserted for RXOVRR, or RX Parity error events. This bit is
cleared when the SRXCtl register is read.
80
Rev. 1.2