FastLED 3.10.6
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 125 of file watchdog.cpp.hpp.

125 {
126 ResetInfo info{};
127 info.cause = lastResetCause();
128 info.subcauseId = 0;
129 info.rawRegister = 0;
130 return info;
131}
ResetCause lastResetCause() const FL_NO_EXCEPT

References fl::ResetInfo::cause, fl::FL_NO_EXCEPT, 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: