public static enum McpEeprom.Type extends Enum<McpEeprom.Type>
Enum Constant and Description |
---|
MCP_24xx256 |
MCP_24xx512 |
Modifier and Type | Method and Description |
---|---|
int |
getAddressSizeBytes() |
int |
getMemorySizeBits() |
int |
getMemorySizeBytes() |
int |
getPageSizeBytes() |
int |
getWriteCycleTimeMillis() |
static McpEeprom.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpEeprom.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final McpEeprom.Type MCP_24xx256
public static final McpEeprom.Type MCP_24xx512
public static McpEeprom.Type[] values()
for (McpEeprom.Type c : McpEeprom.Type.values()) System.out.println(c);
public static McpEeprom.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getAddressSizeBytes()
public int getPageSizeBytes()
public int getWriteCycleTimeMillis()
public int getMemorySizeBits()
public int getMemorySizeBytes()
Copyright © 2016–2017 mattjlewis. All rights reserved.