Table 29:
PLIC Interrupt Enable Register 1 for Hart 0 M-Mode
PLIC Interrupt Enable Register 1 (
enable1
) for Hart 0 M-Mode
Base Address
0x0C00_2000
Bits
Field Name
Attr.
Rst.
Description
0
Interrupt 0 Enable
RO
0
Non-existent global interrupt 0 is hard-
wired to zero
1
Interrupt 1 Enable
RW
X
Enable bit for global interrupt 1
2
Interrupt 2 Enable
RW
X
Enable bit for global interrupt 2
…
31
Interrupt 31
Enable
RW
X
Enable bit for global interrupt 31
Table 30:
PLIC Interrupt Enable Register 2 for Hart 0 M-Mode
PLIC Interrupt Enable Register 2 (
enable2
) for Hart 0 M-Mode
Base Address
0x0C00_2004
Bits
Field Name
Attr.
Rst.
Description
0
Interrupt 32
Enable
RW
X
Enable bit for global interrupt 32
…
20
Interrupt 52
Enable
RW
X
Enable bit for global interrupt 52
[31:21]
Reserved
RO
0
The FE310-G003 supports setting of an interrupt priority threshold via the
threshold
register.
The
threshold
is a
WARL
field, where the FE310-G003 supports a maximum threshold of 7.
The FE310-G003 masks all PLIC interrupts of a priority less than or equal to
threshold
. For
example, a
threshold
value of zero permits all interrupts with non-zero priority, whereas a
value of 7 masks all interrupts.
Chapter 10 Platform-Level Interrupt Controller (PLIC)
FE310-G003 Manual
© SiFive, Inc.
Page 50
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...