Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Flash Circular internal. More...
Functions | |
int | fcb_flash_read (const struct fcb *fcbp, const struct flash_sector *sector, off_t off, void *dst, size_t len) |
Read raw data from the fcb flash sector. | |
int | fcb_flash_write (const struct fcb *fcbp, const struct flash_sector *sector, off_t off, const void *src, size_t len) |
Write raw data to the fcb flash sector. | |
Flash Circular internal.
int fcb_flash_read | ( | const struct fcb * | fcbp, |
const struct flash_sector * | sector, | ||
off_t | off, | ||
void * | dst, | ||
size_t | len | ||
) |
#include <include/zephyr/fs/fcb.h>
Read raw data from the fcb flash sector.
[in] | fcbp | FCB instance structure. |
[in] | sector | FCB sector. |
[in] | off | Read offset form sector begin. |
[out] | dst | Destination buffer. |
[in] | len | Read-out size. |
int fcb_flash_write | ( | const struct fcb * | fcbp, |
const struct flash_sector * | sector, | ||
off_t | off, | ||
const void * | src, | ||
size_t | len | ||
) |
#include <include/zephyr/fs/fcb.h>
Write raw data to the fcb flash sector.
[in] | fcbp | FCB instance structure. |
[in] | sector | FCB sector. |
[in] | off | Write offset form sector begin. |
[in] | src | Source buffer. |
[in] | len | Write size. |