|
FastLED 3.10.6
|
| fl::size fl::ResetInfo::describe | ( | fl::span< char > | out, |
| bool | verbose = false ) const |
Write a single-line human-readable description into the caller's buffer.
Returns the number of bytes written (NOT including any trailing NUL, though a NUL is appended if there is room). Truncates safely if out is too small. Never allocates. Format:
"<cause>" if subcauseId == 0 "<cause> (<sub>)" if subcauseId != 0 && !verbose "<cause> (<sub>) raw=0x<hex>" if verbose
Definition at line 69 of file watchdog.cpp.hpp.
References causeName(), fl::FL_NO_EXCEPT, rawRegister, fl::string_view::size(), subcauseId, subcauseName(), fl::platforms::writeChar(), fl::platforms::writeHex(), fl::platforms::writeNulIfRoom(), and fl::platforms::writeView().
Referenced by fl::platforms::scopedWatchdogFirstInit().
Here is the call graph for this function:
Here is the caller graph for this function: