ProcessorStats_ResetCode class

The Variable sub-class used for the reset cause recorded by the MCU.

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_ResetCode object.

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_ResetCode object.