46
SiFive E300 Platform Reference Manual, Version 1.0.1
The
empty
flag indicates whether the receive FIFO contains new entries to be read; when set, the
data
field does not contain a valid frame. Writes to
rxdata
are ignored.
empty
31
R
eserve
d
30
8
data
7
0
Figure 13.10: Format of
rxdata
register.
Transmit Watermark Register (
txmark
)
The
txmark
register specifies the threshold at which the Tx FIFO watermark interrupt triggers. The
reset value is
0
.
R
eserve
d
31
3
txmark
2
0
Figure 13.11: Format of
txmark
register.
Receive Watermark Register (
rxmark
)
The
rxmark
register specifies the threshold at which the Rx FIFO watermark interrupt triggers.
The reset value is
0
.
R
eserve
d
31
3
rxmark
2
0
Figure 13.12: Format of
rxmark
register.
Interrupt Registers (
ie
and
ip
)
The
ie
register controls which SPI interrupts are enabled, and
ip
is a read-only register indicating
the pending interrupt conditions.
ie
is reset to zero.
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.
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 sufficient
entries have been dequeued to fall below the watermark.
Summary of Contents for E300
Page 1: ...SiFive E300 Platform Reference Manual Version 1 0 1 c SiFive Inc ...
Page 2: ...2 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 4: ...ii SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 12: ...4 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 14: ...6 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 22: ...14 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 32: ...24 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 40: ...32 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 56: ...48 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 60: ...52 SiFive E300 Platform Reference Manual Version 1 0 1 ...