ment once per second. The value of
rtcs
is memory-mapped and can be read as a single
32-bit register over the AON TileLink bus.
15.3
RTC Compare Register (
rtccmp
)
The
rtccmp
register holds a 32-bit value that is compared against
rtcs
, the scaled real-time
clock counter. If
rtcs
is greater than or equal to
rtccmp
, the
rtccmpip
interrupt pending bit is
set. The
rtccmpip
interrupt pending bit is read-only. The
rtccmpip
bit can be cleared down by
writing a value to
rtccmp
that is greater than
rtcs
.
rtccmp0: Comparator 0 (
rtccmp0
)
Register Offset
0x60
Bits
Field Name
Attr.
Rst.
Description
[31:0]
rtccmp0
RW
X
Comparator 0
Table 45:
rtccmp0: Comparator 0
Chapter 15 Real-Time Clock (RTC)
SiFive FE310-G000 Manual: v3p2
© SiFive, Inc.
Page 70