Receive Watermark Register (
rxmark
)
Register Offset
0x54
Bits
Field Name
Attr.
Rst.
Description
[2:0]
rxmark
RW
0x0
Receive watermark
[31:3]
Reserved
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 83.
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 84.
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 84.
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 82:
Receive Watermark Register
Table 83:
SPI Interrupt Enable Register
Table 84:
SPI Watermark Interrupt Pending Register
Chapter 18 Serial Peripheral Interface (SPI)
FE310-G003 Manual
© SiFive, Inc.
Page 96
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...