![]()  | 
  
    simple FS
    v0.1.0
    
   | 
 
interface definition for specific types of memories. More...
#include <stdint.h>#include <malloc.h>

Go to the source code of this file.
Classes | |
| struct | MemoryDriver_t | 
| Interface that defines list of functions with basic operation with memory.  More... | |
Macros | |
| #define | MEMORY_DRIVER_RAM 1 | 
| #define | MEMORY_DRIVER_ONE_WIRE 2 | 
| #define | MEMORY_DRIVER_SPI 3 | 
| #define | MEMORY_DRIVER MEMORY_DRIVER_RAM | 
| #define | MEMORY_EMPTY_VALUE (uint8_t)0xFF | 
| #define | SIMULATION 1 | 
| #define | MEMORY_PAGE_SIZE 256 | 
| #define | FS_VARIANT_U 0x55 | 
| Ultra low capacity (~1kB)  | |
| #define | FS_VARIANT_X 0x58 | 
| Extra low capacity (~4kB)  | |
| #define | FS_VARIANT_S 0x53 | 
| Small capacity (~20kB)  | |
| #define | FS_VARIANT_L 0x4C | 
| Large capacity (~4MB+)  | |
| #define | FS_SIZE_VARIANT FS_VARIANT_L | 
Typedefs | |
| typedef enum state | FS_state | 
| State definition for memory operations.  | |
Enumerations | |
| enum | state { STATE_OK, STATE_ERR } | 
| State definition for memory operations.  | |
interface definition for specific types of memories.
 1.8.17