UNPKG

aes70

Version:

A controller library for the AES70 protocol.

57 lines (51 loc) 1.13 kB
/* * This file has been generated. */ /** * Enumeration of reasons for device reset. * @class OcaResetCause */ export class OcaResetCause { /** * Singleton object corresponding to the entry with value ``0``. */ static PowerOn: OcaResetCause; /** * Singleton object corresponding to the entry with value ``1``. */ static InternalError: OcaResetCause; /** * Singleton object corresponding to the entry with value ``2``. */ static Upgrade: OcaResetCause; /** * Singleton object corresponding to the entry with value ``3``. */ static ExternalRequest: OcaResetCause; /** * Returns the numeric value of this enum entry. */ valueOf(): number; /** * Returns the string representation of this enum entry. */ toString(): string; /** * Returns the name of an enum entry. */ static getName(value: number): string; /** * Returns the value of an enum entry name. */ static getValue(name: string): number; } export type IOcaResetCause = | OcaResetCause | 'PowerOn' | 'InternalError' | 'Upgrade' | 'ExternalRequest' | 0 | 1 | 2 | 3;