Mbed OS Reference
Loading...
Searching...
No Matches
BlockDevice

Data Structures

class  BlockDevice
 A hardware device capable of writing and reading blocks. More...
 
class  BufferedBlockDevice
 Block device which allows minimal read and program sizes (of 1) for the underlying BD using a buffer on the heap. More...
 
class  ChainingBlockDevice
 Block device for chaining multiple block devices with the similar block sizes at sequential addresses. More...
 
class  ExhaustibleBlockDevice
 Heap backed block device which simulates failures. More...
 
class  FlashSimBlockDevice
 Flash simulating block device. More...
 
class  HeapBlockDevice
 Lazily allocated heap-backed block device. More...
 
class  MBRBlockDevice
 Block device for managing a Master Boot Record https://en.wikipedia.org/wiki/Master_boot_record. More...
 
class  ObservingBlockDevice
 
class  ProfilingBlockDevice
 Block device for measuring storage operations of another block device. More...
 
class  ReadOnlyBlockDevice
 
class  SlicingBlockDevice
 Block device for mapping to a slice of another block device. More...
 

Typedefs

typedef uint64_t bd_addr_t
 Type representing the address of a specific block. More...
 
typedef uint64_t bd_size_t
 Type representing a quantity of 8-bit bytes. More...
 

Enumerations

enum  bd_error { BD_ERROR_OK = 0 , BD_ERROR_DEVICE_ERROR = -4001 }
 Enum of standard error codes. More...
 
enum  
 Additional error codes used for MBR records. More...
 

Detailed Description

Typedef Documentation

◆ bd_addr_t

typedef uint64_t bd_addr_t

Type representing the address of a specific block.

Definition at line 44 of file BlockDevice.h.

◆ bd_size_t

typedef uint64_t bd_size_t

Type representing a quantity of 8-bit bytes.

Definition at line 48 of file BlockDevice.h.

Enumeration Type Documentation

◆ bd_error

enum bd_error

Enum of standard error codes.

Enumerator
BD_ERROR_OK 

no error

BD_ERROR_DEVICE_ERROR 

device specific error

Definition at line 37 of file BlockDevice.h.

◆ anonymous enum

anonymous enum

Additional error codes used for MBR records.

Definition at line 31 of file MBRBlockDevice.h.