mn::device::system_stream Class Referenceabstract
A simple abstractes class for easy handle any flash drivers. More...
#include <mn_system.hpp>
Inheritance diagram for mn::device::system_stream:
Public Member Functions | |
virtual int | erase (uint32_t sector)=0 |
virtual int | erase (uint32_t offset, size_t size)=0 |
virtual int | write (uint32_t offset, uint32_t *data, size_t size)=0 |
virtual int | read (uint32_t offset, uint32_t *data, size_t size)=0 |
Detailed Description
A simple abstractes class for easy handle any flash drivers.
Member Function Documentation
◆ erase() [1/2]
|
pure virtual |
Implemented in mn::device::partition_stream, and mn::device::flash_stream.
◆ erase() [2/2]
|
pure virtual |
Implemented in mn::device::partition_stream, and mn::device::flash_stream.
◆ read()
|
pure virtual |
Implemented in mn::device::partition_stream, and mn::device::flash_stream.
◆ write()
|
pure virtual |
Implemented in mn::device::partition_stream, and mn::device::flash_stream.
The documentation for this class was generated from the following file: