58 lines
2.3 KiB
Java
58 lines
2.3 KiB
Java
/* ----------------------------------------------------------------------------
|
|
* 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_bmi160;
|
|
|
|
public final class BMI160_GYRO_RANGE_T {
|
|
public final static BMI160_GYRO_RANGE_T BMI160_GYRO_RANGE_125 = new BMI160_GYRO_RANGE_T("BMI160_GYRO_RANGE_125", javaupm_bmi160JNI.BMI160_GYRO_RANGE_125_get());
|
|
public final static BMI160_GYRO_RANGE_T BMI160_GYRO_RANGE_250 = new BMI160_GYRO_RANGE_T("BMI160_GYRO_RANGE_250");
|
|
public final static BMI160_GYRO_RANGE_T BMI160_GYRO_RANGE_500 = new BMI160_GYRO_RANGE_T("BMI160_GYRO_RANGE_500");
|
|
public final static BMI160_GYRO_RANGE_T BMI160_GYRO_RANGE_1000 = new BMI160_GYRO_RANGE_T("BMI160_GYRO_RANGE_1000");
|
|
public final static BMI160_GYRO_RANGE_T BMI160_GYRO_RANGE_2000 = new BMI160_GYRO_RANGE_T("BMI160_GYRO_RANGE_2000");
|
|
|
|
public final int swigValue() {
|
|
return swigValue;
|
|
}
|
|
|
|
public String toString() {
|
|
return swigName;
|
|
}
|
|
|
|
public static BMI160_GYRO_RANGE_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 " + BMI160_GYRO_RANGE_T.class + " with value " + swigValue);
|
|
}
|
|
|
|
private BMI160_GYRO_RANGE_T(String swigName) {
|
|
this.swigName = swigName;
|
|
this.swigValue = swigNext++;
|
|
}
|
|
|
|
private BMI160_GYRO_RANGE_T(String swigName, int swigValue) {
|
|
this.swigName = swigName;
|
|
this.swigValue = swigValue;
|
|
swigNext = swigValue+1;
|
|
}
|
|
|
|
private BMI160_GYRO_RANGE_T(String swigName, BMI160_GYRO_RANGE_T swigEnum) {
|
|
this.swigName = swigName;
|
|
this.swigValue = swigEnum.swigValue;
|
|
swigNext = this.swigValue+1;
|
|
}
|
|
|
|
private static BMI160_GYRO_RANGE_T[] swigValues = { BMI160_GYRO_RANGE_125, BMI160_GYRO_RANGE_250, BMI160_GYRO_RANGE_500, BMI160_GYRO_RANGE_1000, BMI160_GYRO_RANGE_2000 };
|
|
private static int swigNext = 0;
|
|
private final int swigValue;
|
|
private final String swigName;
|
|
}
|
|
|