rtccounthi: High bits of Counter (
rtccounthi
)
Register Offset
0x4C
Bits
Field Name
Attr.
Rst.
Description
[31:0]
rtccounthi
RW
X
High bits of Counter
rtccountlo: Low bits of Counter (
rtccountlo
)
Register Offset
0x48
Bits
Field Name
Attr.
Rst.
Description
[31:0]
rtccountlo
RW
X
Low bits of Counter
rtccfg: rtc Configuration (
rtccfg
)
Register Offset
0x40
Bits
Field Name
Attr.
Rst.
Description
[3:0]
rtcscale
RW
X
Counter scale value.
[11:4]
Reserved
12
rtcenalways
RW
0x0
Enable Always - run continuously
[27:13]
Reserved
28
rtcip0
RW
X
Interrupt 0 Pending
[31:29]
Reserved
The
rtcenalways
bit controls whether the RTC is enabled, and is reset on AON reset.
The 4-bit
rtcscale
field scales the real-time counter value before feeding to the real-time inter-
rupt comparator. The value in
rtcscale
is the bit position within the
rtccountlo
/
rtccounthi
register pair of the start of a 32-bit field
rtcs
. A value of 0 in
rtcscale
indicates no scaling, and
rtcs
would then be equal to
rtclo
. The maximum value of 15 in
rtcscale
corresponds to
dividing the clock rate by
, so for an input clock of 32.768 kHz, the LSB of
rtcs
will incre-
Table 46:
rtccounthi: High bits of Counter
Table 47:
rtccountlo: Low bits of Counter
Table 48:
rtccfg: rtc Configuration
Chapter 15 Real-Time Clock (RTC)
FE310-G003 Manual
© SiFive, Inc.
Page 73
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...