public enum User0WatchResetReason extends java.lang.Enum<User0WatchResetReason> implements BaseEnum
Enum Constant and Description |
---|
CPU_LOCKUP |
INVALID |
NRF_WDT_RESET |
REF |
RST_PIN_RESET |
SOFT_RESET |
Modifier and Type | Method and Description |
---|---|
static User0WatchResetReason |
getEnum(byte[] data) |
byte[] |
getID() |
User0WatchResetReason |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static User0WatchResetReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static User0WatchResetReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User0WatchResetReason REF
public static final User0WatchResetReason INVALID
public static final User0WatchResetReason RST_PIN_RESET
public static final User0WatchResetReason NRF_WDT_RESET
public static final User0WatchResetReason SOFT_RESET
public static final User0WatchResetReason CPU_LOCKUP
public static User0WatchResetReason[] values()
for (User0WatchResetReason c : User0WatchResetReason.values()) System.out.println(c);
public static User0WatchResetReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static User0WatchResetReason getEnum(byte[] data)
public User0WatchResetReason getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public java.lang.String toString()
toString
in class java.lang.Enum<User0WatchResetReason>