Class Overview
Enumerates the possible chip select configurations of an SPI
interface.
Summary
Enum Values |
SPIChipSelect |
ACTIVE_HIGH |
High Chip Select active level. |
SPIChipSelect |
ACTIVE_LOW |
Low Chip Select active level. |
SPIChipSelect |
NOT_CONTROLLED |
Chip Select not controlled by driver. |
[Expand]
Inherited Methods |
From class
java.lang.Enum
final
Object
|
clone()
|
final
int
|
compareTo(E arg0)
|
int
|
compareTo(Object arg0)
|
final
boolean
|
equals(Object arg0)
|
final
void
|
finalize()
|
final
Class<E>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
java.lang.Comparable
abstract
int
|
compareTo(E arg0)
|
|
Enum Values
public
static
final
SPIChipSelect
ACTIVE_HIGH
High Chip Select active level.
public
static
final
SPIChipSelect
ACTIVE_LOW
Low Chip Select active level.
public
static
final
SPIChipSelect
NOT_CONTROLLED
Chip Select not controlled by driver.
Public Methods
public
static
SPIChipSelect
getByValue
(int value)
Returns the SPIChipSelect
associated to the provided value.
Parameters |
value |
int : The value of the SPIChipSelect to retrieve. |
Returns |
SPIChipSelect |
The SPIChipSelect associated to the provided value or
null if not found.
|
public
int
getValue
()
Returns the SPI chip select value.
Returns |
int |
The SPI chip select value.
|