Skip to main content

Enum ResetReason

Reasons a platform might have been reset

Assembly: Meadow.Contracts.dll
View Source
Declaration
[Flags]
public enum ResetReason

Fields

Unknown

The reset reason is not determined

View Source
Declaration
Unknown = 0

InsufficientPower

Power was too low to maintain operation (brown out)

View Source
Declaration
InsufficientPower = 2

HardwareReset

Reset pin/interrupt detected

View Source
Declaration
HardwareReset = 4

PowerOnReset

Normal power-on reset

View Source
Declaration
PowerOnReset = 8

SoftwareReset

Software-triggered reset

View Source
Declaration
SoftwareReset = 16

IndependentWatchdog

An independent watchdog timer expired

View Source
Declaration
IndependentWatchdog = 32

WindowWatchdog

An window watchdog timer expired

View Source
Declaration
WindowWatchdog = 64

LowPower

A reset due to low power

View Source
Declaration
LowPower = 128