Stack management


Functions

int hps_init (unsigned *stack)
 Initializes the access to the RPL stack.
int hps_exit (unsigned stack)
 Finalizes the access to the RPL stack.

Function Documentation

int hps_exit unsigned  stack  ) 
 

Finalizes the access to the RPL stack.

This function MUST be called before exiting the main program, with the stack bias returned by hps_init.

Parameters:
stack The stack bias
Returns:
Always HPS_OK

int hps_init unsigned *  stack  ) 
 

Initializes the access to the RPL stack.

This function MUST be called before using any other hps_ functions. It returns the stack bias that MUST be passed to hps_exit before exiting the main program.

Parameters:
stack Pointer to the stack bias
Returns:
HPS_ERROR_PAR if the parameter is a null pointer, HPS_OK otherwise


Generated on Sat Sep 16 18:23:57 2006 for HPStack by  doxygen 1.4.5