transferSingleByteLists method
Future<void>
transferSingleByteLists({
- List<
int> ? txBuf, - List<
int> ? rxBuf, - SpiTransferProperties? transferProperties,
Implementation
Future<void> transferSingleByteLists(
{List<int>? txBuf, List<int>? rxBuf, SpiTransferProperties? transferProperties}) {
return transfer([
SpiTransfer(
data: SpiTransferData.fromByteLists(txBuf: txBuf, rxBuf: rxBuf),
properties: transferProperties ?? SpiTransferProperties.defaultProperties)
]);
}