Arduino-Storage
External Memory Storage library for Arduino
|
#include <Storage.h>
Public Member Functions | |
Stream (Storage &mem, size_t size) | |
uint32_t | addr () |
virtual size_t | write (uint8_t byte) |
virtual size_t | write (const uint8_t *buffer, size_t size) |
virtual int | available () |
virtual int | peek () |
virtual int | read () |
virtual void | flush () |
Public Attributes | |
size_t | SIZE |
Protected Attributes | |
Storage & | m_mem |
const uint32_t | m_addr |
uint16_t | m_put |
uint16_t | m_get |
uint16_t | m_count |
Stream of given size on given storage. Write/print intermediate data to the stream that may later be read and transfered. Multiple stream may be created on the same device.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |