Interrupts; Interrupt Control Register - Sundance Spas SMT335E User Manual

Table of Contents

Advertisement

Version 3.0

Interrupts

The generation of a CPU interrupt by a comm-port, an SDB, or the Global Bus starts
when the FPGA asserts an interrupt condition. For example, this may be the result of
an input FIFO becoming not empty or an output FIFO not full.
The interrupt condition is then further controlled by interrupt condition enables in the
FPGA. If enabled, an asserted interrupt condition will cause one of the CPU's
external interrupt lines to be asserted and an interrupt event to be latched in the
processor's Interrupt Flag Register (IFR).
Finally, the processor will be interrupted, providing the interrupt event is enabled in
the processor's Interrupt Enable Register (IER) and the Global Interrupt Enable (GIE)
is set in the processor's Control and Status Register (CSR).
The C6000 provides four external interrupt input lines, EXT_INT4, EXT_INT5,
EXT_INT6, and EXT_INT7, which can be driven by a variety of interrupt conditions.
Each external interrupt has a separate interrupt control register (INTCTRLn) where
you set bits to enable the interrupt condition.

Interrupt Control Register

31–30
29–28
CP0 IE CP1 IE CP2 IE CP3 IE
RW,00
RW,00
15
GB IE
TCLK1 IE
RW,0
Field
Description
27–26
25–24
RW,00
RW,00
14
13
TCLK0 IE
RW,0
RW,0
RW,0000000000
Page 12 of 53
23–22
21–20
CP4 IE
CP5 IE
RW,00
RW,00
12
IIOF2 IE
RW,0
9–0
Interrupt condition selected
SMT335E SMT375E User Manual
INTCTRL4 0x03E00000
INTCTRL5 0x03E80000
INTCTRL6 0x03F00000
INTCTRL7 0x03F80000
19–18
17–16
SDBA IE
SDBB IE
RW,00
RW,00
11
10
IIOF1 IE
IIOF0 IE
RW,0
RW,0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smt375eSmt375Smt335

Table of Contents