public final enum

SPIChipSelect

extends Enum<SPIChipSelect>
java.lang.Object
   ↳ java.lang.Enum<com.digi.android.spi.SPIChipSelect>
     ↳ com.digi.android.spi.SPIChipSelect

Class Overview

Enumerates the possible chip select configurations of an SPI interface.

See also:

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. 
Public Methods
static SPIChipSelect getByValue(int value)
Returns the SPIChipSelect associated to the provided value.
int getValue()
Returns the SPI chip select value.
static SPIChipSelect valueOf(String name)
static final SPIChipSelect[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

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.

public static SPIChipSelect valueOf (String name)

Parameters
name String
Returns
SPIChipSelect

public static final SPIChipSelect[] values ()

Returns
SPIChipSelect[]