|
ChibiOS
0.0.0
|
Type of an MFS instance. More...
#include <mfs.h>


Data Fields | |
| mfs_state_t | state |
| Driver state. More... | |
| const MFSConfig * | config |
| Current configuration data. More... | |
| mfs_bank_t | current_bank |
| Bank currently in use. More... | |
| uint32_t | current_counter |
| Usage counter of the current bank. More... | |
| flash_offset_t | next_offset |
| Pointer to the next free position in the current bank. More... | |
| flash_offset_t | used_space |
| Used space in the current bank without considering erased records. More... | |
| mfs_record_descriptor_t | descriptors [MFS_CFG_MAX_RECORDS] |
| Offsets of the most recent instance of the records. More... | |
| union { | |
| } | buffer |
| Transient buffer. More... | |
Data Fields inherited from BaseFlash | |
| const struct BaseFlashVMT * | vmt |
| Virtual Methods Table. More... | |
Data Fields inherited from BaseObject | |
| const struct BaseObjectVMT * | vmt |
| Virtual Methods Table. More... | |
| mfs_state_t MFSDriver::state |
Driver state.
Definition at line 296 of file mfs.h.
Referenced by mfs_bank_erase(), mfs_bank_verify_erase(), mfs_flash_read(), mfs_flash_write(), mfs_mount(), mfsErase(), mfsEraseRecord(), mfsObjectInit(), mfsPerformGarbageCollection(), mfsReadRecord(), mfsStart(), mfsStop(), and mfsWriteRecord().
| const MFSConfig* MFSDriver::config |
Current configuration data.
Definition at line 300 of file mfs.h.
Referenced by mfs_bank_erase(), mfs_bank_get_state(), mfs_bank_scan_records(), mfs_bank_verify_erase(), mfs_bank_write_header(), mfs_flash_read(), mfs_flash_write(), mfs_record_check(), mfsEraseRecord(), mfsObjectInit(), mfsStart(), mfsStop(), and mfsWriteRecord().
| mfs_bank_t MFSDriver::current_bank |
Bank currently in use.
Definition at line 304 of file mfs.h.
Referenced by mfs_bank_mount(), mfs_garbage_collect(), mfsEraseRecord(), and mfsWriteRecord().
| uint32_t MFSDriver::current_counter |
Usage counter of the current bank.
Definition at line 308 of file mfs.h.
Referenced by mfs_bank_mount(), and mfs_garbage_collect().
| flash_offset_t MFSDriver::next_offset |
Pointer to the next free position in the current bank.
Definition at line 312 of file mfs.h.
Referenced by mfs_bank_scan_records(), mfs_garbage_collect(), mfsEraseRecord(), and mfsWriteRecord().
| flash_offset_t MFSDriver::used_space |
Used space in the current bank without considering erased records.
Definition at line 316 of file mfs.h.
Referenced by mfs_bank_mount(), mfsEraseRecord(), and mfsWriteRecord().
| mfs_record_descriptor_t MFSDriver::descriptors[MFS_CFG_MAX_RECORDS] |
Offsets of the most recent instance of the records.
Definition at line 321 of file mfs.h.
Referenced by mfs_bank_mount(), mfs_bank_scan_records(), mfs_garbage_collect(), mfsEraseRecord(), mfsReadRecord(), and mfsWriteRecord().
| union { ... } MFSDriver::buffer |
Transient buffer.
Referenced by mfs_bank_get_state(), mfs_bank_scan_records(), mfs_flash_copy(), mfs_flash_write(), mfsEraseRecord(), mfsReadRecord(), and mfsWriteRecord().