#include <src/sensors/ProcessorStats.h>
ProcessorStats_ResetCode
class
The Variable sub-class used for the reset cause recorded by the MCU.
- Reference
- Detailed Descriptions
This is a code for the last processor reset cause. This number only changes when the processor resets. There is almost never a reason to store or transmit this value, but it is helpful to check for debugging.
Base classes
- class Variable
- The variable class for a value and related metadata.
Constructors, destructors, conversion operators
- ProcessorStats_ResetCode(ProcessorStats* parentSense, const char* uuid = "", const char* varCode = "ResetCode") explicit
- Construct a new ProcessorStats_
ResetCode object. - ProcessorStats_ResetCode()
- Construct a new ProcessorStats_
ResetCode object. - ~ProcessorStats_ResetCode()
- Destroy the ProcessorStats_
ResetCode object - no action needed.
Function documentation
ProcessorStats_ ResetCode:: ProcessorStats_ResetCode(ProcessorStats* parentSense,
const char* uuid = "",
const char* varCode = "ResetCode") explicit
Construct a new ProcessorStats_
Parameters | |
---|---|
parentSense | The parent ProcessorStats providing the result values. |
uuid | A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string. |
varCode | A short code to help identify the variable in files; optional with a default value of "ResetCode". |
ProcessorStats_ ResetCode:: ProcessorStats_ResetCode()
Construct a new ProcessorStats_