AT89C5122 ATMEL [ATMEL Corporation], AT89C5122 Datasheet - Page 82

no-image

AT89C5122

Manufacturer Part Number
AT89C5122
Description
MICROCONTROLLER WITH USB AND SMART CARD READER INTERFACES
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5122D-ALRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDVIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-UM
Manufacturer:
MAXIM
Quantity:
1 001
Part Number:
AT89C5122DS-RDTUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C5122DS-UM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Table 47. Smart Card UART Interrupt Identification Register (Read Only)
SCIIR (S:AEh, SCRS=0)
Reset Value = 0X00 0000b
82
Bit Number
SCTBI
7
7
6
5
4
3
2
1
0
AT8xC5122/23
Bit Mnemonic
VCARDERR
ICARDERR
6
-
SCWTI
SCTBI
SCRI
SCTI
SCPI
-
ICARDERR
Note:
5
Description
UART Transmit Buffer Empty Interrupt
This bit is set by hardware when the Transmit Buffer is copied into the transmit shift register of the Smart
Card UART. It generates an interrupt if ESCTBI bit is set in SCIER register otherwise this bit is irrelevant.
It is cleared by hardware when this register is read.
Reserved
The value read from this bit is indeterminate. Do not change this bit.
This bit is set when the current on card is above the limit specified by bit OVFADJ in DCCKPS register (Table
61 on page 94). It generates an interrupt if ICARDER bit is set in SCIER register otherwise this bit is
irrelevant.
It is cleared by hardware when this register is read.
an interrupt if EVCARDER bit is set in SCIER register otherwise this bit is irrelevant.
It is cleared by hardware when this register is read.
Waiting Time Counter Timeout Interrupt
This bit is set by hardware when the Waiting Time Counter has expired. It generates an interrupt if ESCWTI
bit is set in SCIER register otherwise this bit is irrelevant.
It is cleared by hardware when this register is read.
UART Transmitted Character Interrupt
This bit is set by hardware when the Smart Card UART has completed the character transmission. It
generates an interrupt if ESCTI bit is set in SCIER register otherwise this bit is irrelevant.
It is cleared by hardware when this register is read.
UART Received Character Interrupt
This bit is set by hardware when the Smart Card UART has completed the character reception. It generates
an interrupt if ESCRI bit is set in SCIER register otherwise this bit is irrelevant.
It is cleared by hardware when this register is read.
Character Reception Parity Error Interrupt
This bit is set at the same time as SCTI or SCRI if a parity error is detected on the received character. It
generates an interrupt if ESCPI bit is set in SCIER register otherwise this bit is irrelevant.
It is cleared by hardware when this register is read.
Card Current Overflow Interrupt
Card Voltage Error Interrupt
This bit is set when the output voltage goes out of the voltage range specified by VCARD field. It generates
1) In case of multiple interrupts occuring at the same time (sampled by the same edge of
the internal clock), the interrupts will be serviced in the following order from the highest to
the lowest priority :
-
-
-
-
-
-
-
2) It is recommended that the application saves the SCIIR register after reading it in
order to avoid the loss of pending interruptions as the SCIIR register is cleared when it is
read by the MCU.
UART Transmit Buffer Empty
Waiting Time Counter Timeout
UART Transmitted Character
UART Received Character
Character Reception Parity Error
Card Current Overflow
Card Voltage Error
VCARDERR
4
SCWTI
3
SCTI
2
SCRI
1
4202D–SCR–06/05
SCPI
0

Related parts for AT89C5122