
GR716-DS-UM, May 2019, Version 1.29
270
www.cobham.com/gaisler
GR716
29.6.6
Table 318.
0x14 - IEDGE - Interrupt edge register
Interrupt Edge Register
29.6.7
Table 319.
0x1C - CAP - Capability register
Capability Register
29.6.8
Table 320.
0x20 - 0x3C - IRQMAPRn - Interrupt map register n
Interrupt Map Register n
29.6.9
Table 321.
0x40 - IAVAIL - Interrupt available register
Interrupt Available Register
31
0
EDGE
NR
rw
31:
0
Interrupt edge (EDGE) - 0=level, 1=edge
31
18 17 16 15
13 12
8
7
5
4
0
RESERVED
PU IER IFL
r
IRQGEN
r
NLINES
0
1
1
1
0
0x4
0
0x1F
r
r
r
r
r
r
r
r
31:
19
Reserved and not used
18
PU: Pulse register implemented: If this field is ‘1’ then the core implements the Pulse register.
17
IER: Input Enable register implemented. If this field is ‘1’ then the core implements the Input enable
register.
16
IFL: Interrupt flag register implemented. If this field is ‘1’ then the core implements the Interrrupt
available and Interrupt flag registers (registers at offsets 0x40 and 0x44).
12
8
IRQGEN: Software can dynamically configure each I/O to drive either of the 4 interrupt lines asso-
ciated with each GPIO unit (cf. section 2.12).
4:
0
NLINES. Number of pins in GPIO port - 1.
31
29 28
24 23
21 20
16 15
13 12
8
7
6
4
0
RESERVED
IRQMAP[4*n]
RESERVED
IRQMAP[4*n+1]
RESERVED
IRQMAP[4*n+2]
RESERVED
IRQMAP[4*n+3]
0
un+i
0
un+i+1
0
un+i+2
0
uni+i+3
r
rw
r
rw
r
rw
r
rw
31:
0
IRQMAP[i] : The field IRQMAP[i] determines to which interrupt I/O line i is connected. If IRQ-
MAP[i] is set to
x
, IO[i] will drive interrupt
pirq
+
x
. Where
pirq
is the first interrupt assigned to the
core (cf. section 2.12). Several I/O can be mapped to the same interrupt.
The core has one IRQMAP field per I/O line. The Interrupt map register at offset 0x20+
4*n
contains
the IRQMAP fields for IO[
4*n
:
4*n+3
]. This means that the fields for IO[0:3] are located on offset
0x20, IO[4:7] on offset 0x24, IO[8:11] on offset 0x28, and so on. An I/O line’s interrupt generation
must be enabled in the Interrupt mask register in order for the I/O line to drive the interrupt specified
by the IRQMAP field.
31
0
IMASK
*
r
31:
0
IMASK: Interrupt mask bit field. If IMASK[n] is 1 then GPIO line n can generate interrupts.