- java.lang.Object
-
- java.lang.Enum<U8g2Message>
-
- com.ibasco.ucgdisplay.core.u8g2.U8g2Message
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<U8g2Message>
public enum U8g2Message extends java.lang.Enum<U8g2Message>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
java.lang.String
getDescription()
int
getType()
static U8g2Message
valueOf(int code)
Returns the enum constant of this type with the specified name.static U8g2Message
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static U8g2Message[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
U8X8_MSG_GPIO_AND_DELAY_INIT
public static final U8g2Message U8X8_MSG_GPIO_AND_DELAY_INIT
-
U8X8_MSG_GPIO_D0
public static final U8g2Message U8X8_MSG_GPIO_D0
-
U8X8_MSG_GPIO_D1
public static final U8g2Message U8X8_MSG_GPIO_D1
-
U8X8_MSG_GPIO_D2
public static final U8g2Message U8X8_MSG_GPIO_D2
-
U8X8_MSG_GPIO_D3
public static final U8g2Message U8X8_MSG_GPIO_D3
-
U8X8_MSG_GPIO_D4
public static final U8g2Message U8X8_MSG_GPIO_D4
-
U8X8_MSG_GPIO_D5
public static final U8g2Message U8X8_MSG_GPIO_D5
-
U8X8_MSG_GPIO_D6
public static final U8g2Message U8X8_MSG_GPIO_D6
-
U8X8_MSG_GPIO_D7
public static final U8g2Message U8X8_MSG_GPIO_D7
-
U8X8_MSG_GPIO_CS
public static final U8g2Message U8X8_MSG_GPIO_CS
-
U8X8_MSG_GPIO_E
public static final U8g2Message U8X8_MSG_GPIO_E
-
U8X8_MSG_GPIO_CS1
public static final U8g2Message U8X8_MSG_GPIO_CS1
-
U8X8_MSG_GPIO_CS2
public static final U8g2Message U8X8_MSG_GPIO_CS2
-
U8X8_MSG_GPIO_RESET
public static final U8g2Message U8X8_MSG_GPIO_RESET
-
U8X8_MSG_GPIO_DC
public static final U8g2Message U8X8_MSG_GPIO_DC
-
U8X8_MSG_BYTE_INIT
public static final U8g2Message U8X8_MSG_BYTE_INIT
-
U8X8_MSG_DELAY_MILLI
public static final U8g2Message U8X8_MSG_DELAY_MILLI
-
U8X8_MSG_DELAY_NANO
public static final U8g2Message U8X8_MSG_DELAY_NANO
-
U8X8_MSG_BYTE_SEND
public static final U8g2Message U8X8_MSG_BYTE_SEND
-
U8X8_MSG_BYTE_START_TRANSFER
public static final U8g2Message U8X8_MSG_BYTE_START_TRANSFER
-
U8X8_MSG_BYTE_END_TRANSFER
public static final U8g2Message U8X8_MSG_BYTE_END_TRANSFER
-
U8X8_MSG_BYTE_SET_DC
public static final U8g2Message U8X8_MSG_BYTE_SET_DC
-
U8X8_MSG_GPIO_I2C_DATA
public static final U8g2Message U8X8_MSG_GPIO_I2C_DATA
-
U8X8_MSG_GPIO_I2C_CLOCK
public static final U8g2Message U8X8_MSG_GPIO_I2C_CLOCK
-
U8X8_MSG_DELAY_I2C
public static final U8g2Message U8X8_MSG_DELAY_I2C
-
U8G2_BYTE_SEND_INIT
public static final U8g2Message U8G2_BYTE_SEND_INIT
-
U8X8_MSG_START
public static final U8g2Message U8X8_MSG_START
-
U8X8_MSG_END
public static final U8g2Message U8X8_MSG_END
-
-
Method Detail
-
values
public static U8g2Message[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (U8g2Message c : U8g2Message.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static U8g2Message valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCode
public int getCode()
-
getDescription
public java.lang.String getDescription()
-
getType
public int getType()
-
valueOf
public static U8g2Message valueOf(int code)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
code
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-