mt90224 Zarlink Semiconductor, mt90224 Datasheet - Page 69

no-image

mt90224

Manufacturer Part Number
mt90224
Description
8-port Ima/tc Phy Device
Manufacturer
Zarlink Semiconductor
Datasheet
The IRQ Master Status (0x0455) register always reports the current state of the source(s) of interrupt. It does not
latch the interrupt request(s); it only reports that one or more bit(s) in one or more IRQ Link Status register(s) is (are)
set.
The bits that are read as active (’1’ value) are cleared when the source of the interrupt is cleared or when the
corresponding bit(s) in the IRQ Link Enable (0x0445-0x0454) register(s) is (are) set to 0. Writing to or reading from
the IRQ Master Status (0x0455) register has no effect on the level of the interrupt pin.
6.2.2
There are sixteen IRQ Link Status (0x0435-0x0444) and sixteen IRQ Link Enable (0x0445-0x0454) registers; one
of each per link. The following six types of interrupts are reported (in the six least significant bits of the IRQ Link
Status registers) for each link:
Bit 0 (LSB) is a status bit. It reports an interrupt for an overflow condition in one or more of the 24 counters
associated with the link. It is also used to report an overflow condition in the UTOPIA RX FIFO associated with a
TDM link in TC mode. If enabled, a counter generates an interrupt request when it overflows (i.e starts over from 0
after reaching the maximum counter value). See 6.1 Counter Block paragraph for more details on the operation of
the counters. These 13 sources of overflow can be identified through the IRQ Link FIFO Overflow and IRQ
UTOPIA FIFO Overflow status registers.
Reading the IRQ Link Status (0x0435-0x0444) register does not clear the source of interrupt. The bit 0 status is
reset by any one of the following procedures:
Bits 1 to 6 and 9 to 11 of the IRQ Link Status (0x0435-0x0444) registers are latches that report the source of an
interrupt. Writing a ’0’ these bits will reset the status bit (will reset the latch). Writing ’0’ to bit 0 has no effect on the
status bit.
Writing a ’1’ has no effect on the bits 0 to 6 and 9 to 11 of the IRQ Link Status (0x0435-0x0444) register.
Each one of these 10 interrupt sources can be enabled by writing a ’1’ in the IRQ Link Enable (0x0445-0x0454)
registers to the bit corresponding to the interrupt source.
In some situations, an interrupt source can be masked as part of an interrupt service routine. This makes it possible
to detect further interrupts of higher priority. For example, if an interrupt for a counter is received, the source of the
interrupt can be masked by writing 0 to the corresponding bit and then starting a separate process outside of the
Interrupt Service Routine. The independent process would read, reload and re-enable the counter to produce
Bit 11 latched: reports the end of an LODS (Link is Out of Delay Synchronization) condition on a RX TDM link
Bit 10 latched: reports the end of an LIF (Loss of IMA Frame) condition on a RX TDM link
Bit 9 latched: reports the end of an LCD (Loss of Cell Delineation) condition on a RX TDM link
Bit 6 latched: reports an overflow in the ICP pre-processing RAM
Bit 5 latched: reports that an ICP Cell with changes was received on a RX TDM lin.
Bit 4 latched: reports an IV (ICP Cell violation) condition on a RX TDM link
Bit 3 latched: reports an LODS (Link is Out of Delay Synchronization) condition on a RX TDM link
Bit 2 latched: reports an LIF (Loss of IMA Frame) condition on a RX TDM link
Bit 1 latched: reports an LCD (Loss of Cell Delineation) condition on a RX TDM link
disabling (masking) the IRQ for this specific counter
clearing the overflow status bit in the IRQ Link TC Overflow Status (0x0410-0x041F) registers
disabling the interrupt in the IRQ Link TC Overflow Enable (0x0434) or in the corresponding Link (in TC
mode) Counter registers
IRQ Link Status and IRQ Link Enable Registers
Zarlink Semiconductor Inc.
MT90222/3/4
69
Data Sheet

Related parts for mt90224