public static enum ModernRoboticsI2cGyro.Register extends java.lang.Enum<ModernRoboticsI2cGyro.Register>
Enum Constant and Description |
---|
COMMAND |
FIRMWARE_REV |
HEADING_DATA |
INTEGRATED_Z_VALUE |
MANUFACTURE_CODE |
RAW_X_VAL |
RAW_Y_VAL |
RAW_Z_VAL |
READ_WINDOW_FIRST |
READ_WINDOW_LAST |
SENSOR_ID |
UNKNOWN |
Z_AXIS_OFFSET |
Z_AXIS_SCALE_COEF |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
static ModernRoboticsI2cGyro.Register |
fromByte(byte bVal) |
static ModernRoboticsI2cGyro.Register |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModernRoboticsI2cGyro.Register[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModernRoboticsI2cGyro.Register READ_WINDOW_FIRST
public static final ModernRoboticsI2cGyro.Register FIRMWARE_REV
public static final ModernRoboticsI2cGyro.Register MANUFACTURE_CODE
public static final ModernRoboticsI2cGyro.Register SENSOR_ID
public static final ModernRoboticsI2cGyro.Register COMMAND
public static final ModernRoboticsI2cGyro.Register HEADING_DATA
public static final ModernRoboticsI2cGyro.Register INTEGRATED_Z_VALUE
public static final ModernRoboticsI2cGyro.Register RAW_X_VAL
public static final ModernRoboticsI2cGyro.Register RAW_Y_VAL
public static final ModernRoboticsI2cGyro.Register RAW_Z_VAL
public static final ModernRoboticsI2cGyro.Register Z_AXIS_OFFSET
public static final ModernRoboticsI2cGyro.Register Z_AXIS_SCALE_COEF
public static final ModernRoboticsI2cGyro.Register READ_WINDOW_LAST
public static final ModernRoboticsI2cGyro.Register UNKNOWN
public static ModernRoboticsI2cGyro.Register[] values()
for (ModernRoboticsI2cGyro.Register c : ModernRoboticsI2cGyro.Register.values()) System.out.println(c);
public static ModernRoboticsI2cGyro.Register 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 ModernRoboticsI2cGyro.Register fromByte(byte bVal)