Following a wakeup, the
pmucause
register indicates which event caused the wakeup. The
value in the
wakeupcause
field corresponds to the bit position of the event in
pmuie
, e.g., a
value of 2 indicates
dwakeup
. The value 0 indicates a wakeup from reset. These causes are
shown in Table 44.
In the event of a wakeup from reset, the
resetcause
field indicates which reset source triggered
the wakeup. Table 45 lists the values the
resetcause
field may take. The value in
resetcause
persists until the next reset.
pmucause: PMU Wakeup Cause (
pmucause
)
Register Offset
0x144
Bits
Field Name
Attr.
Rst.
Description
[31:0]
pmucause
RO
X
PMU Wakeup Cause
Table 44:
Wakeup cause values
Index
Meaning
0
Reset
1
RTC Wakup (
rtc
)
2
Digitial input wakeup (
dwakeup
)
Table 45:
Reset cause values
Index
Meaning
0
Power-on Reset
1
External reset
2
Watchdog timer reset
Table 43:
pmucause: PMU Wakeup Cause
Chapter 14 Power-Management Unit (PMU)
FE310-G003 Manual
© SiFive, Inc.
Page 71
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...