#include "minfs.h"
#include <string.h>
Defines | |
#define | DEV_BLOCK_SIZE 64 |
#define | DEV_NUM_BLOCKS 32 |
Typedefs | |
typedef uint8_t | databuf_t [DEV_BLOCK_SIZE] |
Functions | |
void | MINFS_RAM_Init (void) |
int32_t | MINFS_Read (MINFS_fs_t *p_fs, MINFS_block_buf_t *p_block_buf, uint16_t data_offset, uint16_t data_len) |
int32_t | MINFS_Write (MINFS_fs_t *p_fs, MINFS_block_buf_t *p_block_buf, uint16_t data_offset, uint16_t data_len) |
int32_t | MINFS_GetBlockBuffer (MINFS_fs_t *p_fs, MINFS_block_buf_t **pp_block_buf, uint32_t block_n, uint32_t file_id) |
#define DEV_BLOCK_SIZE 64 |
#define DEV_NUM_BLOCKS 32 |
typedef uint8_t databuf_t[DEV_BLOCK_SIZE] |
int32_t MINFS_GetBlockBuffer | ( | MINFS_fs_t * | p_fs, | |
MINFS_block_buf_t ** | pp_block_buf, | |||
uint32_t | block_n, | |||
uint32_t | file_id | |||
) |
void MINFS_RAM_Init | ( | void | ) |
int32_t MINFS_Read | ( | MINFS_fs_t * | p_fs, | |
MINFS_block_buf_t * | p_block_buf, | |||
uint16_t | data_offset, | |||
uint16_t | data_len | |||
) |
int32_t MINFS_Write | ( | MINFS_fs_t * | p_fs, | |
MINFS_block_buf_t * | p_block_buf, | |||
uint16_t | data_offset, | |||
uint16_t | data_len | |||
) |