mn::device::flash_stream Class Reference
+ Inheritance diagram for mn::device::flash_stream:
+ Collaboration diagram for mn::device::flash_stream:

Public Member Functions

virtual int erase (uint32_t sector)
 
virtual int erase (uint32_t offset, size_t size)
 
virtual int write (uint32_t offset, uint32_t *data, size_t size)
 
virtual int read (uint32_t offset, uint32_t *data, size_t size)
 

Member Function Documentation

◆ erase() [1/2]

virtual int mn::device::flash_stream::erase ( uint32_t  offset,
size_t  size 
)
inlinevirtual

◆ erase() [2/2]

virtual int mn::device::flash_stream::erase ( uint32_t  sector)
inlinevirtual

◆ read()

virtual int mn::device::flash_stream::read ( uint32_t  offset,
uint32_t *  data,
size_t  size 
)
inlinevirtual

◆ write()

virtual int mn::device::flash_stream::write ( uint32_t  offset,
uint32_t *  data,
size_t  size 
)
inlinevirtual

The documentation for this class was generated from the following file: