Philips Semiconductors
Product specification
SC28L198
Octal UART for 3.3V and 5V supply voltage
1999 Jan 14
28
Bit 7
ááááááááááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááááá
Bits 6:0
ááááááááááááááááááááááááááááááááá
This register provides a single 7 bit field called the interrupt
threshold for use by the interrupt arbiter. The field is interpreted as a
single unsigned integer. The interrupt arbiter will not generate an
external interrupt request, by asserting IRQN, unless the value of
the highest priority interrupt exceeds the value of the interrupt
threshold. If the highest bidder in the interrupt arbitration is lower
than the threshold level set by the ICR, the Current Interrupt
Register, CIR, will contain x’00. Refer to the functional description of
interrupt generation for details on how the various interrupt source
bid values are calculated.
Note: While a watch-dog Timer interrupt is pending, the ICR is not
used and only receiver codes are presented for interrupt arbitration.
This allows receivers with very low count values (perhaps below the
threshold value) to win interrupt arbitration without requiring the user
to explicitly lower the threshold level in the ICR. These bits are the
upper seven (7) bits of the interrupt arbitration system. The lower
three (3) bits represent the channel number.
UCIR – Update CIR
A command based upon a decode of address x’8C. ( UCIR is not a
register!) A write (the write data is not important; a “don’t care”) to
this ’register’ causes the Current Interrupt Register to be updated
with the value that is winning interrupt arbitration. The register
would be used in systems that poll the interrupt status registers
rather than wait for interrupts. Alternatively, the CIR is normally
updated during an Interrupt Acknowledge Bus cycle in interrupt
driven systems.
Table 28. CIR – Current Interrupt Register
Bits 7:6
Type
Current byte count/type
00 – other
000 – no interrupt
001 – Change of State
010 – Address
Recognition
011 – Xon/Xoff status
100 – Not used
101 – Break change
110, 111 do not occur
01 – Transmit
11– Receive w/
errors
10 – Receive w/o
errors
.
.
5 => 14 characters
6 => 15 characters
7 => 16
(See also GIBCR)
ááááááááááááááá
ááááááááááááááá
á
á
á
á
áááááááááááááááá
á
á
á
á
á
á
áááááááááááááááá
specification of the interrupting condition in the Octal UART. The
CIR is updated at the beginning of an interrupt acknowledge bus
cycle or in response to an Update CIR command. (see immediately
above) Although interrupt arbitration continues in the background,
á
á
á
á
á
á
á
á
Bits 5:3
Bits 2:0
áááá
áááá
áááá
áááá
áááá
áááá
á
á
á
á
á
111 = h
000 = a
010 = c
011 = d
Channel number
000 = a
001 = b
010 = c
011 = d
áááá
áááá
áááá
á
á
á
á
á
á
á
á
á
á
á
Current count code
characters
1 => 10 characters
á
á
á
á
á
á
111 = h
the current interrupt information remains frozen in the CIR until
another IACKN cycle or Update CIR command occurs. The LSBs of
the CIR provide part of the addressing for various Global Interrupt
registers including the GIBCR, GICR, GITR and the Global RxFIFO
and TxFIFO FIFO. The host CPU need not generate individual
addresses for this information since the interrupt context will remain
stable at the fixed addresses of the Global Interrupt registers until
the CIR is updated. For most interrupting sources, the data
available in the CIR alone will be sufficient to set up a service
routine.
The CIR may be processed as follows:
If CIR[7] = 1, then a receiver interrupt is pending and the count is
CIR[5:3], channel is CIR[2:0]
Else If CIR[6] = 1 then a transmitter interrupt is pending and the
count is CIR[5:3], channel is CIR[2:0]
Else the interrupt is another type, specified in CIR[5:3]
Note: The GIBCR, Global Interrupting Byte Count Register, may be
read to determine an exact character count if 9 or less characters
are indicated in the count field of the CIR.
Table 29. IVR – Interrupt Vector Register
8 data bits of the Interrupt Vector (IVR)
This is the unmodified form of the interrupt vector.
ááááááááááááááááá
ááááááááááááááááá
ááááááááááááááááá
Table 30. Modification of the IVR
Bits 7:5
Always contains
bits (7:5) of the IVR
ááááááááááááááá
á
á
ááááááááááááááá
interrupting source. The modification of the IVR as it is presented to
the data bus during an IACK cycle is controlled by the setting of the
bits (2:1) in the GCCR (Global Chip Configuration Register)
Bits 4:3
Will be replaced
Bits 2:0
Replaced with inter-
ber if IVC field of
áááá
á
á
áááá
áááá
á
á
ááááá
ááááá
á
á
Table 31. GICR – Global Interrupting Channel
Register
Bits 7:3
Bits 2:0
áááááááááááááááá
á
á
áááááááááááááááá
CIR. It contains the interrupting channel code for all interrupts.
á
áááááááááááááááá
ááááá
ááááá
ááááááááá
ááááááááá
111 = h
á
á
á
101 = f
011 = d