SpiTransferProperties constructor
SpiTransferProperties({})
Implementation
SpiTransferProperties(
{this.speedHz,
this.delay = const Duration(microseconds: 0),
this.bitsPerWord,
this.doToggleCS = false,
this.txTransferMode,
this.rxTransferMode,
this.wordDelay = const Duration(microseconds: 0)})
: assert(speedHz == null || (speedHz >= 0 && speedHz <= 0xFFFFFFFF)),
assert(delay.inMicroseconds >= 0 && delay.inMicroseconds <= 0xFFFF),
assert(bitsPerWord == null || (bitsPerWord >= 0 && bitsPerWord <= 32)),
assert(wordDelay.inMicroseconds >= 0 && wordDelay.inMicroseconds <= 0xFF);