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   ) 

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 Tue May 1 19:42:14 2012 for MIOS32 by  doxygen 1.4.7