#include "lfs.h"
#include "lfs_util.h"
Go to the source code of this file.
|
int | lfs_flashbd_create (const struct lfs_config *cfg, const struct lfs_flashbd_config *bdcfg) |
|
int | lfs_flashbd_destroy (const struct lfs_config *cfg) |
|
int | lfs_flashbd_read (const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) |
|
int | lfs_flashbd_prog (const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) |
|
int | lfs_flashbd_erase (const struct lfs_config *cfg, lfs_block_t block) |
|
int | lfs_flashbd_sync (const struct lfs_config *cfg) |
|
◆ LFS_FLASHBD_TRACE
#define LFS_FLASHBD_TRACE |
( |
|
... | ) |
|
◆ lfs_flashbd_t
◆ lfs_flashbd_create()
int lfs_flashbd_create |
( |
const struct lfs_config * |
cfg, |
|
|
const struct lfs_flashbd_config * |
bdcfg |
|
) |
| |
◆ lfs_flashbd_destroy()
int lfs_flashbd_destroy |
( |
const struct lfs_config * |
cfg | ) |
|
◆ lfs_flashbd_erase()
int lfs_flashbd_erase |
( |
const struct lfs_config * |
cfg, |
|
|
lfs_block_t |
block |
|
) |
| |
◆ lfs_flashbd_prog()
int lfs_flashbd_prog |
( |
const struct lfs_config * |
cfg, |
|
|
lfs_block_t |
block, |
|
|
lfs_off_t |
off, |
|
|
const void * |
buffer, |
|
|
lfs_size_t |
size |
|
) |
| |
◆ lfs_flashbd_read()
int lfs_flashbd_read |
( |
const struct lfs_config * |
cfg, |
|
|
lfs_block_t |
block, |
|
|
lfs_off_t |
off, |
|
|
void * |
buffer, |
|
|
lfs_size_t |
size |
|
) |
| |
◆ lfs_flashbd_sync()
int lfs_flashbd_sync |
( |
const struct lfs_config * |
cfg | ) |
|