Enum Class MonitorDProto.SystemInformation.ResetReason
java.lang.Object
java.lang.Enum<MonitorDProto.SystemInformation.ResetReason>
de.serosystems.proto.v3.grx.monitord.MonitorDProto.SystemInformation.ResetReason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<MonitorDProto.SystemInformation.ResetReason>
,Constable
- Enclosing class:
- MonitorDProto.SystemInformation
public static enum MonitorDProto.SystemInformation.ResetReason
extends Enum<MonitorDProto.SystemInformation.ResetReason>
implements com.google.protobuf.ProtocolMessageEnum
Reset reasons.Protobuf enum
serosystems.proto.v3.grx.monitord.SystemInformation.ResetReason
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCPU0 APU watchdog timer reset, should never happen.CPU1 APU watchdog timer reset, should never happen.Debug reset.External system reset.Power on Reset, i.e.System level controller reset.System watchdog reset. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
CPU0 APU watchdog timer reset, should never happen.static final int
CPU1 APU watchdog timer reset, should never happen.static final int
Debug reset.static final int
External system reset.static final int
Power on Reset, i.e.static final int
System level controller reset.static final int
System watchdog reset. -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<MonitorDProto.SystemInformation.ResetReason>
valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PowerOnReset
Power on Reset, i.e. device has been connected to power. Does not indicate a problem.
PowerOnReset = 0;
-
SystemLevelControllerReset
System level controller reset. Happens e.g. if the device is rebooted manually. Usually does not indicate a problem.
SystemLevelControllerReset = 1;
-
SystemWatchdogReset
System watchdog reset. Happens if the device is reset by the internal watchdog timer. Indicates a problem.
SystemWatchdogReset = 2;
-
ExternalSystemReset
External system reset. Can happen on development device which have a mounted reset switch and if the Zynq is reset by the CPLD. Usually indicates a problem.
ExternalSystemReset = 3;
-
DebugReset
Debug reset. Should only happen during debugging with JTAG hardware.
DebugReset = 4;
-
APUWatchdogTimerReset0
CPU0 APU watchdog timer reset, should never happen.
APUWatchdogTimerReset0 = 5;
-
APUWatchdogTimerReset1
CPU1 APU watchdog timer reset, should never happen.
APUWatchdogTimerReset1 = 6;
-
UNRECOGNIZED
-
-
Field Details
-
PowerOnReset_VALUE
public static final int PowerOnReset_VALUEPower on Reset, i.e. device has been connected to power. Does not indicate a problem.
PowerOnReset = 0;
- See Also:
-
SystemLevelControllerReset_VALUE
public static final int SystemLevelControllerReset_VALUESystem level controller reset. Happens e.g. if the device is rebooted manually. Usually does not indicate a problem.
SystemLevelControllerReset = 1;
- See Also:
-
SystemWatchdogReset_VALUE
public static final int SystemWatchdogReset_VALUESystem watchdog reset. Happens if the device is reset by the internal watchdog timer. Indicates a problem.
SystemWatchdogReset = 2;
- See Also:
-
ExternalSystemReset_VALUE
public static final int ExternalSystemReset_VALUEExternal system reset. Can happen on development device which have a mounted reset switch and if the Zynq is reset by the CPLD. Usually indicates a problem.
ExternalSystemReset = 3;
- See Also:
-
DebugReset_VALUE
public static final int DebugReset_VALUEDebug reset. Should only happen during debugging with JTAG hardware.
DebugReset = 4;
- See Also:
-
APUWatchdogTimerReset0_VALUE
public static final int APUWatchdogTimerReset0_VALUECPU0 APU watchdog timer reset, should never happen.
APUWatchdogTimerReset0 = 5;
- See Also:
-
APUWatchdogTimerReset1_VALUE
public static final int APUWatchdogTimerReset1_VALUECPU1 APU watchdog timer reset, should never happen.
APUWatchdogTimerReset1 = 6;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MonitorDProto.SystemInformation.ResetReason> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static MonitorDProto.SystemInformation.ResetReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-