Racal Instruments 7064 Instruction Manual page 155

Table of Contents

Advertisement

retrieve_nv (void *dest, void *nv_blkptr); `
Retrieves information out of structured non-vol and puts it into user data area.
Example: addr=locate_nv(2,1); followed by retrieve_nv(mybuf,addr); -
retreives the information from addr, and stores it into mybuf in RAM
location.
store nv (int rec_type, char *dscrpt, void *dataptr, long size);
Stores information from user data area into structured non-vol.
Example: store_nv(2,"myinfo",mybuf,(long)size of mybuf);
Memory Management
vtl calloc (long count, long size); or vtl_malloc (long size); *
Allocates a block of memory in the heap.
Example: addr=vtl_calloc(4,200); - allocates 4 pieces of memory
of 200 bytes each.
vtl cfree( void *block); or vtl free (void *block); *
Frees a block of memory in the heap.
Example: vtl_free(addr);
peek (int * address);
Retrieves a word from specified memory location.
peekb (char * address);
Retrieves a byte from specified memory location.
poke (int * address, int value);
Puts a word into specified memory location.
pokeb (char * address, char value);
Puts a byte into specified memory location.
Examples: Examples are given in section 4.4.
A-7

Advertisement

Table of Contents
loading

Related Products for Racal Instruments 7064

Table of Contents