menu_settings.c File Reference

Management of a menu that allows to set up the STM32-primer. More...


Functions

enum MENU_code MENU_SetLevel_Ini (void)
void MENU_SetLevelTitle (u8 *title)
enum MENU_code MENU_SetLevel_Mgr (u32 *value, u32 value_range[])


Detailed Description

Author:
FL
Date:
07/2007

Function Documentation

enum MENU_code MENU_SetLevel_Ini ( void   ) 

Initialize a generic function to set a value in the range of [0,4]

Return values:
MENU_CONTINU_COMMAND 

enum MENU_code MENU_SetLevel_Mgr ( u32 *  value,
u32  value_range[] 
)

Generic function to set a value in the range of [0,4] (handling of the control)

Parameters:
[in,out] value Pointer to the value to be modified.
[in] value_range Pointer to the list of valid values (5 values).
Returns:
Menu code
If the variable fDynamicChange is set, the value is changed as the selection change.

void MENU_SetLevelTitle ( u8 *  title  ) 

Set the title of level menu managed by MENU_SetLevel_Mgr()

Parameters:
[in] title A pointer to the string containing the level menu title.