doc: renamed project
This commit is contained in:
committed by
Sylvan Arnold
parent
244e516bd8
commit
32618389d1
27
pico-sensor/McuLib/littleFS/McuLittleFSBlockDevice.h
Normal file
27
pico-sensor/McuLib/littleFS/McuLittleFSBlockDevice.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2022, Erich Styger
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
|
||||
#ifndef MCULITTLEFSBLOCKDEVICE_H_
|
||||
#define MCULITTLEFSBLOCKDEVICE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "littleFS/lfs.h"
|
||||
#include "littleFS/McuLittleFSBlockDeviceconfig.h"
|
||||
|
||||
int McuLittleFS_block_device_read(const struct lfs_config *c, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size);
|
||||
|
||||
int McuLittleFS_block_device_prog(const struct lfs_config *c, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size);
|
||||
|
||||
int McuLittleFS_block_device_erase(const struct lfs_config *c, lfs_block_t block);
|
||||
|
||||
int McuLittleFS_block_device_sync(const struct lfs_config *c);
|
||||
|
||||
int McuLittleFS_block_device_deinit(void);
|
||||
|
||||
int McuLittleFS_block_device_init(void);
|
||||
|
||||
#endif /* MCULITTLEFSBLOCKDEVICE_H_ */
|
||||
Reference in New Issue
Block a user