Storage::Disk::BlockDevice::Stat Struct Reference

#include <BlockDevice.h>

Collaboration diagram for Storage::Disk::BlockDevice::Stat:

Classes

struct  Func
 

Public Types

enum  Function { read , write , erase }
 

Public Member Functions

void update (Function fn, uint32_t sector, uint32_t cacheSector)
 
size_t printTo (Print &p) const
 

Public Attributes

Func func [3]
 Read, Write, Erase. More...
 
std::map< uint32_t, Funcsectors
 By sector. More...
 

Member Enumeration Documentation

◆ Function

Enumerator
read 
write 
erase 

Member Function Documentation

◆ printTo()

size_t Storage::Disk::BlockDevice::Stat::printTo ( Print p) const

◆ update()

void Storage::Disk::BlockDevice::Stat::update ( Function  fn,
uint32_t  sector,
uint32_t  cacheSector 
)

Member Data Documentation

◆ func

Func Storage::Disk::BlockDevice::Stat::func[3]

Read, Write, Erase.

◆ sectors

std::map<uint32_t, Func> Storage::Disk::BlockDevice::Stat::sectors

By sector.


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