Receive Watermark Register (
rxmark
)
Register Offset
0x54
Bits
Field Name
Attr.
Rst.
Description
[2:0]
rxmark
RW
0x0
Receive watermark
[31:3]
Reserved
18.15
SPI Interrupt Registers (
ie
and
ip
)
The
ie
register controls which SPI interrupts are enabled, and
ip
is a read-only register indicat-
ing the pending interrupt conditions.
ie
is reset to zero. See Table 78.
The
txwm
condition becomes raised when the number of entries in the transmit FIFO is strictly
less than the count specified by the
txmark
register. The pending bit is cleared when sufficient
entries have been enqueued to exceed the watermark. See Table 79.
The
rxwm
condition becomes raised when the number of entries in the receive FIFO is strictly
greater than the count specified by the
rxmark
register. The pending bit is cleared when suffi-
cient entries have been dequeued to fall below the watermark. See Table 79.
SPI Interrupt Enable Register (
ie
)
Register Offset
0x70
Bits
Field Name
Attr.
Rst.
Description
0
txwm
RW
0x0
Transmit watermark enable
1
rxwm
RW
0x0
Receive watermark enable
[31:2]
Reserved
SPI Watermark Interrupt Pending Register (
ip
)
Register Offset
0x74
Bits
Field Name
Attr.
Rst.
Description
0
txwm
RO
0x0
Transmit watermark pending
1
rxwm
RO
0x0
Receive watermark pending
Table 77:
Receive Watermark Register
Table 78:
SPI Interrupt Enable Register
Table 79:
SPI Watermark Interrupt Pending Register
Chapter 18 Serial Peripheral Interface (SPI)
SiFive FE310-G000 Manual: v3p2
© SiFive, Inc.
Page 91