Go to the source code of this file.
|
| uint8_t | LFS_get_chip_number (lfs_block_t block_num) |
| |
| int | LFS_block_device_read (const struct lfs_config *, lfs_block_t, lfs_off_t, void *, lfs_size_t) |
| | LittleFS read function, memory is mapped to a physical address here.
|
| |
| int | LFS_block_device_prog (const struct lfs_config *, lfs_block_t, lfs_off_t, const void *, lfs_size_t) |
| | LittleFS write function, memory is mapped to a physical address here.
|
| |
| int | LFS_block_device_erase (const struct lfs_config *, lfs_block_t) |
| | LittleFS erase function, memory is mapped to a physical address here.
|
| |
| int | LFS_block_device_sync (const struct lfs_config *) |
| | LittleFS sync function.
|
| |
◆ LFS_block_device_erase()
LittleFS erase function, memory is mapped to a physical address here.
- Parameters
-
| LittleFS | Configurations, Block to erase |
- Returns
- int - any error codes that happened in littlefs
◆ LFS_block_device_prog()
LittleFS write function, memory is mapped to a physical address here.
- Parameters
-
| LittleFS | Configurations, Block to read, offset, buffer, buffer size |
- Returns
- int - any error codes that happened in littlefs
◆ LFS_block_device_read()
LittleFS read function, memory is mapped to a physical address here.
- Parameters
-
| LittleFS | Configurations, Block to write, offset, buffer, buffer size |
- Returns
- int - any error codes that happened in littlefs
◆ LFS_block_device_sync()
| int LFS_block_device_sync |
( |
const struct lfs_config * | c | ) |
|
LittleFS sync function.
- Parameters
-
| c | - LittleFS Configuration |
- Returns
- int - 0 since we are not caching reads or writes
◆ LFS_get_chip_number()