Uses of Class
com.pi4j.io.spi.SpiChannel
-
Packages that use SpiChannel Package Description com.pi4j.io.spi com.pi4j.io.spi.impl -
-
Uses of SpiChannel in com.pi4j.io.spi
Methods in com.pi4j.io.spi that return SpiChannel Modifier and Type Method Description static SpiChannelSpiChannel. getByNumber(int channelNumber)static SpiChannelSpiChannel. getByNumber(short channelNumber)static SpiChannelSpiChannel. valueOf(String name)Returns the enum constant of this type with the specified name.static SpiChannel[]SpiChannel. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.pi4j.io.spi with parameters of type SpiChannel Modifier and Type Method Description static SpiDeviceSpiFactory. getInstance(SpiChannel channel)Create new SpiDevice instance with a default SPI speed of 1 MHz.static SpiDeviceSpiFactory. getInstance(SpiChannel channel, int speed)Create new SpiDevice instancestatic SpiDeviceSpiFactory. getInstance(SpiChannel channel, int speed, SpiMode mode)Create new SpiDevice instancestatic SpiDeviceSpiFactory. getInstance(SpiChannel channel, SpiMode mode)Create new SpiDevice instance -
Uses of SpiChannel in com.pi4j.io.spi.impl
Fields in com.pi4j.io.spi.impl declared as SpiChannel Modifier and Type Field Description protected SpiChannelSpiDeviceImpl. channelConstructors in com.pi4j.io.spi.impl with parameters of type SpiChannel Constructor Description SpiDeviceImpl(SpiChannel channel)Creates the SPI Device at the given SPI and input channel (A default speed of 1 MHz will be used)SpiDeviceImpl(SpiChannel channel, int speed)Creates the SPI Device at the given spi and input channelSpiDeviceImpl(SpiChannel channel, int speed, SpiMode mode)Creates the SPI Device at the given spi and input channelSpiDeviceImpl(SpiChannel channel, SpiMode mode)Creates the SPI Device at the given SPI and input channel (A default speed of 1 MHz will be used)
-