Components/Storage/src/include/Storage/Device.h File Reference
Include dependency graph for Components/Storage/src/include/Storage/Device.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | Storage::Device |
Represents a storage device (e.g. flash memory) More... | |
Namespaces | |
Storage | |
Macros | |
#define | STORAGE_TYPE_MAP(XX) |
#define | XX(type, value, desc) type = value, |
Functions | |
String | toString (Storage::Device::Type type) |
String | toLongString (Storage::Device::Type type) |
Macro Definition Documentation
◆ STORAGE_TYPE_MAP
#define STORAGE_TYPE_MAP | ( | XX | ) |
Value:
XX(unknown, 0x00, "Other storage device") \
XX(flash, 0x01, "SPI flash") \
XX(spiram, 0x02, "SPI RAM") \
XX(sdcard, 0x03, "SD Card") \
XX(disk, 0x04, "Physical disk") \
XX(file, 0x05, "Backing file on separate filesystem") \
XX(sysmem, 0x06, "System Memory")
◆ XX
#define XX | ( | type, | |
value, | |||
desc | |||
) | type = value, |
Function Documentation
◆ toLongString()
String toLongString | ( | Storage::Device::Type | type | ) |
◆ toString()
String toString | ( | Storage::Device::Type | type | ) |