Rainbow Electronics W90P710CDG User Manual

Page 446

Advertising
background image

W90P710CD/W90P710CDG

- 446 -

BITS

DESCRIPTIONS

[31:6] RESERVED

-

[5]

SCPSNT

Smart card present line status.
User may poll this bit to see SCPSNT pin's voltage level
0 = Smart card has been remove from the reader
1 = Smart card IC is contact with the reader

[4]

SCPTI

SCPSNT toggle interrupt status.
A rising/falling edge of SCPSNT signal triggers an interrupt and set this
status bit if ESCPTI (IER bit 3) is set to "1" to enable SCPSNT toggle
interrupt.
0= No SCPSNT toggle interrupt.
1 = SCPSNT toggle interrupt occurs.

[3:1]

INTS2 ~
INTS0

Interrupt Status bit 2 ~0
The combination indicates which kind of transmission-related interrupt has
occurred. Refer to the following table for details.

ISR bit

Interrupt set and function

3 2 1 0 Priority Interrupt

type

Interrupt source

Clear interrupt condition

0 0 0

1 -

-

No interrupt pending

-

1 0 1 0 first

Card
insert or
remove

SCPTI =1

Read ISR

1 1 1 0 second TIME-

OUT
interrupt

1. TO2 =1
2. TO1 =1
3. TO0 =1

Read SCSR

0 1 1 0 third

Data

receiving
status

1. OER = 1
2. PBER = 1
3. NSER = 1
4. SBD = 1

Read SCSR

0 1 0 0 fourth RBR

data
ready

1. RBR data ready
2. FIFO interrupt active

level reached

1. Read RBR
2. Read RBR until FIFO

is under active level

1 1 0 0 fifth

FIFO
data time
out

Receiver FIFO is non-
empty and no activities
are occurred in the
receiver FIFO during
the TOR defined time
duration

Read RBR

0 0 1 0 sixth TBR

empty

TBR empty

1. Write data to TBR
2. Read ISR (if priority is

sixth)

[0]

Interrupt
pending

Interrupt pending status bit.
This bit is a logical "1" if there is no interrupt pending. If one of the interrupt
sources occurs, this bit will be set to a logical "0".
0 = Interrupt pending.
1 = No interrupt occurs.

Advertising