Treehopper Java API
io.treehopper.enums.ChipSelectMode Enum Reference

Defines whether a signal is active high (rising-edge) or active low (falling-edge) More...

Public Attributes

 SpiActiveLow
 CS is asserted low, the SPI transaction takes place, and then the signal is returned high. More...
 
 SpiActiveHigh
 CS is asserted high, the SPI transaction takes place, and then the signal is returned low. More...
 
 PulseHighAtBeginning
 CS is pulsed high, and then the SPI transaction takes place. More...
 
 PulseHighAtEnd
 The SPI transaction takes place, and once finished, CS is pulsed high. More...
 
 PulseLowAtBeginning
 CS is pulsed low, and then the SPI transaction takes place. More...
 

Detailed Description

Defines whether a signal is active high (rising-edge) or active low (falling-edge)

Member Data Documentation

◆ PulseHighAtBeginning

io.treehopper.enums.ChipSelectMode.PulseHighAtBeginning

CS is pulsed high, and then the SPI transaction takes place.

◆ PulseHighAtEnd

io.treehopper.enums.ChipSelectMode.PulseHighAtEnd

The SPI transaction takes place, and once finished, CS is pulsed high.

◆ PulseLowAtBeginning

io.treehopper.enums.ChipSelectMode.PulseLowAtBeginning

CS is pulsed low, and then the SPI transaction takes place.

◆ SpiActiveHigh

io.treehopper.enums.ChipSelectMode.SpiActiveHigh

CS is asserted high, the SPI transaction takes place, and then the signal is returned low.

◆ SpiActiveLow

io.treehopper.enums.ChipSelectMode.SpiActiveLow

CS is asserted low, the SPI transaction takes place, and then the signal is returned high.


The documentation for this enum was generated from the following file: