FastLED 3.9.15
Loading...
Searching...
No Matches

◆ lastResetInfo()

ResetInfo fl::Watchdog::lastResetInfo ( ) const

Detailed reset information including platform raw register + subcause id.

Default implementation returns {lastResetCause(), 0, 0}; platforms that capture the raw register override with a strong definition in their .impl.hpp.

Definition at line 95 of file watchdog.cpp.hpp.

95 {
96 ResetInfo info{};
97 info.cause = lastResetCause();
98 info.subcauseId = 0;
99 info.rawRegister = 0;
100 return info;
101}
ResetCause lastResetCause() const FL_NOEXCEPT

References fl::ResetInfo::cause, FL_NOEXCEPT, and lastResetCause().

Referenced by lastResetWasWatchdog(), and fl::platforms::scopedWatchdogFirstInit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: