modules/minfs/minfs_ram.c File Reference

#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 Documentation

#define DEV_BLOCK_SIZE   64
#define DEV_NUM_BLOCKS   32

Typedef Documentation

typedef uint8_t databuf_t[DEV_BLOCK_SIZE]

Function Documentation

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   ) 

Here is the call graph for this function:

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 
)

Generated on 22 Jan 2016 for MIOS32 by  doxygen 1.6.1