NetBurner 3.5.0
PDF Version
 
System Functions

NetBurner General System Functions. More...

Functions

int SaveUserParameters (void *pCopyFrom, int len)
 Save data to the on-chip flash memory User Parameter area.
 
void * GetUserParameters (void)
 Returns a void pointer to the user parameter area.
 
const char * GetReleaseTag ()
 Returns the NNDK release tag information.
 

Detailed Description

NetBurner General System Functions.

#include< system.h >

Function Documentation

◆ GetReleaseTag()

const char * GetReleaseTag ( )

#include <system.h>

Returns the NNDK release tag information.

Returns
Pointer to a string representing the development tools release tag

◆ GetUserParameters()

void * GetUserParameters ( void )

#include <system.h>

Returns a void pointer to the user parameter area.

On most platforms the total amount of space is 8k bytes. Typically used to retrieve a structure.

This function is here for reverse compatibility with releases prior to NetBurner 3.0. Alternatives are to use the 3.0 configuration tree, or the EFFS STD file system.

Returns
Void pointer to the User Parameter area in flash memory
See also
SaveUserParameters()

◆ SaveUserParameters()

int SaveUserParameters ( void * pCopyFrom,
int len )

#include <system.h>

Save data to the on-chip flash memory User Parameter area.

On most platforms the total amount of space is 8k bytes. Typically used to save a structure.

This function is here for reverse compatibility with releases prior to NetBurner 3.0. Alternatives are to use the 3.0 configuration tree, or the EFFS STD file system.

Parameters
pCopyFromPointer to the data to copy and save
lenLength of data
Returns
The number of items copied, or <= 0 on failure
See also
GetUserParameters()