SpiInterface constructor

SpiInterface({
  1. int dataLength = 1,
})

Creates a new SpiInterface.

Implementation

SpiInterface({this.dataLength = 1})
    : super(
          portsFromConsumer: [Port('MISO')],
          portsFromProvider: [Port('MOSI'), Port('CSB'), Port('SCLK')]);