nip_mem_block_t Struct Reference

Header for block of dynamically managed memory. More...

#include <mem.h>


Data Fields

nip_mem_handle_t id
 Unique identifier.
nip_mem_size_t res_length
 reserved length.
nip_mem_size_t min_length
 minimum length.
nip_mem_size_t used_length
 used length.
nip_mem_flags_t flags
 flags to control access to the block


Detailed Description

Header for block of dynamically managed memory.

Definition at line 114 of file mem.h.


Field Documentation

Unique identifier.

1 <= id <= NIP_MEM_MAX_BLOCKS

Definition at line 116 of file mem.h.

reserved length.

Size of reserved memory for this block. (incl. this header)

Definition at line 117 of file mem.h.

minimum length.

Amount of memory that is guaranteed to be reserved for this block's data.

Definition at line 118 of file mem.h.

used length.

Amount of memory currently used for data.

Definition at line 119 of file mem.h.

flags to control access to the block

Todo:
use bit masks (see below) to save program memory

Definition at line 120 of file mem.h.


The documentation for this struct was generated from the following file:

Generated on Thu Jul 10 01:10:09 2008 for NIP by  doxygen 1.5.5