OPERATION
Copyright 2007
5-30
S SC150e HARDWARE REFERENCE
Figure 5-11 Interrupt Service Routine
CSR0 IMME and HIE must be set in order to set up interrupts.
CSR1 Bits 0-15 contain various error and status conditions. Interrupts are re-armed whenever any
value is written to CSR1.
CSR4 Bits 0-15 contain the interrupt address bits A0-A15.
Read PCI Interrupt Status Register (PCI Configuration Register—offset 48
)
and save value.
Write Interrupt Status Register value back to PCI Interrupt Status Register to clear the interrupt.
CSR5 Bits 0-6 contain the interrupt address bits A22-A16.
Bit 15 contains the Interrupt FIFO Not Empty status.
If an interrupt has been received by the host processor from the S SC150e Network
interrupt logic, then the Interrupt Service Routine will be invoked. Interrupts will be disabled until re-
armed by writing to CSR1. Until that time, all other interrupts will be written into the Interrupt FIFO
where they can be processed in the Interrupt Service Routine.
If Interrupts on Errors is enabled, then an interrupt due to an error has occurred if the interrupt FIFO is
empty on the initial check of CSR5 in the Interrupt Service Routine.
Read
CSR5
Test the Interrupt FIFO Not Empty status bit 15
If (Interrupt FIFO is Empty)
Read CSR1 to determine the error condition(s)
Respond to any error conditions
End
if
While (Interrupt FIFO is NOT Empty)
Save interrupt address bits A22-A16 from CSR5 (from previous read)
Read CSR4 and save interrupt address bits A15-A0
• • •
Service interrupt according to interrupt address data or address
• • •
Read CSR5 and save Interrupt FIFO Empty status
Endwhile
Write to CSR1 to re-arm interrupts
Return from interrupt service routine
Содержание SCRAMNet+ SC150e
Страница 1: ...SC150e PCI PMC CPCI Bus Universal Signaling Hardware Reference Document No D T MR PCPMCPE A 1 A4 ...
Страница 2: ......
Страница 24: ...SCRAMNET OVERVIEW Copyright 2007 2 12 SCRAMNet SC150e HARDWARE REFERENCE This page intentionally left blank ...
Страница 32: ...PRODUCT OVERVIEW Copyright 2007 3 8 SCRAMNet SC150e HARDWARE REFERENCE This page intentionally left blank ...
Страница 45: ...INSTALLATION Copyright 2007 4 13 SCRAMNet SC150e HARDWARE REFERENCE Figure 4 13 Bypass State Power Off ...
Страница 79: ...OPERATION Copyright 2007 5 29 SCRAMNet SC150e HARDWARE REFERENCE Figure 5 10 Quad Switch ...
Страница 82: ......
Страница 94: ......
Страница 108: ......
Страница 120: ...CSR SUMMARY Copyright 2007 C 12 SCRAMNet SC150e HARDWARE REFERENCE This page intentionally left blank ...
Страница 121: ...D D CONFIGURATION AIDS APPENDIX D CONFIGURATION AIDS ...
Страница 122: ......
Страница 126: ...CONFIGURATION AIDS Copyright 2007 D 4 SCRAMNet SC150e HARDWARE REFERENCE This page intentionally left blank ...
Страница 127: ...1 GLOSSARY GLOSSARY ...
Страница 128: ......
Страница 134: ...GLOSSARY Copyright 2007 Glossary 6 SCRAMNet SC150e HARDWARE REFERENCE This page intentionally left blank ...
Страница 135: ...1 INDEX INDEX ...
Страница 136: ......