public static enum McpAdc.Type extends Enum<McpAdc.Type>
Enum Constant and Description |
---|
MCP3001 |
MCP3002 |
MCP3004 |
MCP3008 |
MCP3201 |
MCP3202 |
MCP3204 |
MCP3208 |
MCP3301 |
MCP3302 |
MCP3304 |
Modifier and Type | Method and Description |
---|---|
int |
getMaxFreq2v7() |
int |
getMaxFreq5v0() |
int |
getNumPins() |
int |
getRange() |
int |
getResolution() |
boolean |
isModel33() |
boolean |
isSigned() |
static McpAdc.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpAdc.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final McpAdc.Type MCP3001
public static final McpAdc.Type MCP3002
public static final McpAdc.Type MCP3004
public static final McpAdc.Type MCP3008
public static final McpAdc.Type MCP3201
public static final McpAdc.Type MCP3202
public static final McpAdc.Type MCP3204
public static final McpAdc.Type MCP3208
public static final McpAdc.Type MCP3301
public static final McpAdc.Type MCP3302
public static final McpAdc.Type MCP3304
public static McpAdc.Type[] values()
for (McpAdc.Type c : McpAdc.Type.values()) System.out.println(c);
public static McpAdc.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 getNumPins()
public int getResolution()
public int getMaxFreq2v7()
public int getMaxFreq5v0()
public boolean isSigned()
public int getRange()
public boolean isModel33()
Copyright © 2016–2017 mattjlewis. All rights reserved.