/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). * Version 4.4.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package upm_bma250e; public final class BMA250E_RST_LATCH_T { public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_NON_LATCHED = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_NON_LATCHED", javaupm_bma250eJNI.BMA250E_RST_LATCH_NON_LATCHED_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_250MS = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_250MS", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_250MS_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_500MS = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_500MS", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_500MS_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_1S = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_1S", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_1S_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_2S = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_2S", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_2S_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_4S = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_4S", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_4S_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_8S = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_8S", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_8S_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_LATCHED = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_LATCHED", javaupm_bma250eJNI.BMA250E_RST_LATCH_LATCHED_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_250US = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_250US", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_250US_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_500US = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_500US", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_500US_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_1MS = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_1MS", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_1MS_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_12_5MS = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_12_5MS", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_12_5MS_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_25MS = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_25MS", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_25MS_get()); public final static BMA250E_RST_LATCH_T BMA250E_RST_LATCH_TEMPORARY_50MS = new BMA250E_RST_LATCH_T("BMA250E_RST_LATCH_TEMPORARY_50MS", javaupm_bma250eJNI.BMA250E_RST_LATCH_TEMPORARY_50MS_get()); public final int swigValue() { return swigValue; } public String toString() { return swigName; } public static BMA250E_RST_LATCH_T swigToEnum(int swigValue) { if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (int i = 0; i < swigValues.length; i++) if (swigValues[i].swigValue == swigValue) return swigValues[i]; throw new IllegalArgumentException("No enum " + BMA250E_RST_LATCH_T.class + " with value " + swigValue); } private BMA250E_RST_LATCH_T(String swigName) { this.swigName = swigName; this.swigValue = swigNext++; } private BMA250E_RST_LATCH_T(String swigName, int swigValue) { this.swigName = swigName; this.swigValue = swigValue; swigNext = swigValue+1; } private BMA250E_RST_LATCH_T(String swigName, BMA250E_RST_LATCH_T swigEnum) { this.swigName = swigName; this.swigValue = swigEnum.swigValue; swigNext = this.swigValue+1; } private static BMA250E_RST_LATCH_T[] swigValues = { BMA250E_RST_LATCH_NON_LATCHED, BMA250E_RST_LATCH_TEMPORARY_250MS, BMA250E_RST_LATCH_TEMPORARY_500MS, BMA250E_RST_LATCH_TEMPORARY_1S, BMA250E_RST_LATCH_TEMPORARY_2S, BMA250E_RST_LATCH_TEMPORARY_4S, BMA250E_RST_LATCH_TEMPORARY_8S, BMA250E_RST_LATCH_LATCHED, BMA250E_RST_LATCH_TEMPORARY_250US, BMA250E_RST_LATCH_TEMPORARY_500US, BMA250E_RST_LATCH_TEMPORARY_1MS, BMA250E_RST_LATCH_TEMPORARY_12_5MS, BMA250E_RST_LATCH_TEMPORARY_25MS, BMA250E_RST_LATCH_TEMPORARY_50MS }; private static int swigNext = 0; private final int swigValue; private final String swigName; }