
ASIC Interface
PROFIBUS Controller SPC 4®-2 LF
C79000-G8976-C157-3
93
7.9 Interrupt
Controller
The interrupt controller informs the processor (uP) of indication messages and
various error events. Up to 16 events are stored on the interrupt controller and
applied to an interrupt output. The controller has no priority level and does not
supply an interrupt vector (not 8259A compatible!).
It consists of an interrupt request register (IRR), interrupt mask register (IMR),
interrupt register (IR) and interrupt acknowledge register (IAR).
IRR
IMR
IAR
S
R
FF
S
R
SPC4
uP
uP
uP
uP
uP
uP
INT_Pol
SEP_INT
IR
X/INT
Figure 7-20
Interrupt Controller
Every event is stored in the IRR. Individual events can be suppressed using the
IMR. The entry in the IRR does not depend on the interrupt mask. The event
signals that are not masked in the IMR generate the X/INT interrupt over a
common network. When debugging, the user can set every event in the IRR.
Every interrupt event processed by the processor must be deleted using the IAR by
writing logical '1' to the corresponding bit position. If there is a new event and
acknowledge pending in the IRR at the same time, the event remains stored. If the
processor then enables a mask, make sure that there is no entry from the past in
the IRR. To be on the safe side, the position in the IRR should be deleted before
the mask is enabled.
Before exiting the interrupt routine, the processor must set the "End of Interrupt
Signal (EOI) in mode register 1. This edge change switches the interrupt line
inactive. If an event is still stored, the interrupt output only becomes active following
an interrupt inactivity time of at least 48 clock periods (in other words, at 48 MHz =
1 usec). This makes it possible to return to the interrupt routine when using an
edge-triggered interrupt input.
The polarity of the interrupt output can be set with the INT_Pol mode bit. After the
hardware reset, the output is low active.
Содержание SIMATIC NET SPC 4-2 LF
Страница 9: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 9 Introduction 1 ...
Страница 11: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 11 Functional Overview 2 ...
Страница 14: ...PROFIBUS Controller SPC 4 2 LF 14 C79000 G8976 C157 3 ...
Страница 15: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 15 Pin Assignment 3 ...
Страница 18: ...PROFIBUS Controller SPC 4 2 LF 18 C79000 G8976 C157 3 ...
Страница 19: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 19 Memory Assignment 4 ...
Страница 32: ...PROFIBUS Controller SPC 4 2 LF 32 C79000 G8976 C157 3 ...
Страница 33: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 33 FLC Interface 5 ...
Страница 50: ...PROFIBUS Controller SPC 4 2 LF 50 C79000 G8976 C157 3 ...
Страница 51: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 51 DP Interface 6 ...
Страница 63: ...ASIC Interface PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 63 ASIC Interface 7 ...
Страница 107: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 107 Asynchronous Interface 8 ...
Страница 114: ...PROFIBUS Controller SPC 4 2 LF 114 C79000 G8976 C157 3 ...
Страница 115: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 115 Synchronous Interface 9 ...
Страница 125: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 125 Clock Pulses 10 ...
Страница 128: ...PROFIBUS Controller SPC 4 2 LF 128 C79000 G8976 C157 3 ...
Страница 129: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 129 Processor Interface 11 ...
Страница 152: ...PROFIBUS Controller SPC 4 2 LF 152 C79000 G8976 C157 3 ...
Страница 153: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 153 Technical Specifications 12 ...
Страница 159: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 159 Package 13 ...
Страница 165: ...Package PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 165 Figure 13 4 Tray Spezification ...
Страница 166: ...PROFIBUS Controller SPC 4 2 LF 166 C79000 G8976 C157 3 ...
Страница 168: ...PROFIBUS Controller SPC 4 2 LF 168 C79000 G8976 C157 3 ...
Страница 169: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 169 Addresses 15 ...
Страница 172: ...PROFIBUS Controller SPC 4 2 LF 172 C79000 G8976 C157 3 ...
Страница 173: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 173 Appendix 16 ...
Страница 178: ...PROFIBUS Controller SPC 4 2 LF 178 C79000 G8976 C157 3 ...