Go to the source code of this file.
◆ LFS_block_device_erase()
LittleFS erase function.
- Parameters
-
LittleFS | Configurations, Block to erase |
- Returns
- int - any error codes that happened in littlefs
◆ LFS_block_device_prog()
LittleFS write function.
- 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.
- 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()