StreamAdapter.h
Go to the documentation of this file.
Helper class for streaming data to/from SPI devices.
Definition: StreamAdapter.h:35
size_t getBytesRequested() const
Definition: StreamAdapter.h:48
bool read(ReadWriteStream *dest, uint32_t address, size_t len, InterruptDelegate callback)
bool write(IDataSourceStream *source, uint32_t address, size_t len, InterruptDelegate callback)
size_t getBytesTransferred() const
Definition: StreamAdapter.h:53
StreamAdapter(MemoryDevice &device)
Definition: Common.h:35