FastLED 3.9.15
Loading...
Searching...
No Matches
watchdog.cpp.hpp File Reference

Detailed Description

Platform-agnostic implementations for the unified watchdog API:

  • ResetInfo::describe() Tier 1 human-readable description writer
  • ResetInfo::subcauseName() Tier 1 default (per-platform impls may shadow)
  • Watchdog::lastResetInfo() Tier 1 default (returns {cause, 0, 0})
  • ScopedWatchdog ctor/dtor Tier 1.5 RAII guard

Per FastLED conventions this file is included from exactly one translation unit (the platform dispatcher includes it after the per-platform .impl.hpp), and is marked // IWYU pragma: private.

Definition in file watchdog.cpp.hpp.

#include "fl/wdt/watchdog.h"
+ Include dependency graph for watchdog.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::platforms
 

Functions

int & fl::platforms::scopedWatchdogActiveCount () FL_NOEXCEPT
 
void fl::platforms::scopedWatchdogFirstInit (fl::u32 timeout_ms) FL_NOEXCEPT
 
void fl::platforms::scopedWatchdogPause3s () FL_NOEXCEPT
 
void fl::platforms::scopedWatchdogPrintLine (fl::string_view sv) FL_NOEXCEPT
 
fl::size fl::platforms::writeChar (fl::span< char > out, char c) FL_NOEXCEPT
 
fl::size fl::platforms::writeHex (fl::span< char > out, fl::u32 value) FL_NOEXCEPT
 
fl::size fl::platforms::writeNulIfRoom (fl::span< char > out, fl::size written) FL_NOEXCEPT
 
fl::size fl::platforms::writeView (fl::span< char > out, fl::string_view sv) FL_NOEXCEPT