CircleOS  1
Functions
menu_settings.c File Reference

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

Go to the source code of this file.

Functions

enum MENU_code MENU_SetLevel_Ini (void)
 
void MENU_SetLevelTitle (u8 *title)
 
enum MENU_code MENU_SetLevel_Mgr (uint_t *value, uint_t *value_range)
 

Detailed Description

Author
FL
Date
07/2007
Version
4.0 Add Open4 Primer
Date
10/2009

Definition in file menu_settings.c.

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_CONTINUE_COMMAND

Definition at line 473 of file menu_settings.c.

enum MENU_code MENU_SetLevel_Mgr ( uint_t *  value,
uint_t *  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 5 valid values.
Returns
Menu code

If the variable fDynamicChange is set, the value is changed as the selection change.

Definition at line 523 of file menu_settings.c.

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.

Definition at line 499 of file menu_settings.c.