|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectioio.lib.api.SpiMaster.Config
public static class SpiMaster.Config
SPI configuration structure.
| Field Summary | |
|---|---|
boolean |
invertClk
Whether to invert clock polarity. |
SpiMaster.Rate |
rate
Data rate. |
boolean |
sampleOnTrailing
Whether to do the input and output sampling on the trailing clock edge. |
| Constructor Summary | |
|---|---|
SpiMaster.Config(SpiMaster.Rate rate)
Constructor with common defaults. |
|
SpiMaster.Config(SpiMaster.Rate rate,
boolean invertClk,
boolean sampleOnTrailing)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public SpiMaster.Rate rate
public boolean invertClk
public boolean sampleOnTrailing
| Constructor Detail |
|---|
public SpiMaster.Config(SpiMaster.Rate rate,
boolean invertClk,
boolean sampleOnTrailing)
rate - Data rate.invertClk - Whether to invert clock polarity.sampleOnTrailing - Whether to do the input and output sampling on the
trailing clock edge.public SpiMaster.Config(SpiMaster.Rate rate)
#Config(Rate, boolean, boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||