Stack management


Functions

int hps_init (unsigned *stack)
 Initializes the access to the RPL stack : NO MORE NEEDED FROM HPGCC 2.0.
int hps_exit (unsigned stack)
 Finalizes the access to the RPL stack : NO MORE NEEDED FROM HPGCC 2.0.

Function Documentation

int hps_exit ( unsigned  stack  ) 

Finalizes the access to the RPL stack : NO MORE NEEDED FROM HPGCC 2.0.

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 : NO MORE NEEDED FROM HPGCC 2.0.

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 Tue Mar 4 17:43:20 2014 for HPStack by  doxygen 1.5.0