DMCP interface  03.15_020

Flags. More...

Typedefs

typedef int get_flag_fn_t()
 Get flag function prototype.
 
typedef void set_flag_fn_t(int val)
 Set flag function prototype.
 

Variables

get_flag_fn_tget_flag_dmy
 Getter callback for DMY flag. More...
 
set_flag_fn_tset_flag_dmy
 Setter callback for DMY flag. More...
 
get_flag_fn_tis_flag_clk24
 Getter callback for CLK24 flag. More...
 
set_flag_fn_tset_flag_clk24
 Setter callback for CLK24 flag. More...
 
get_flag_fn_tis_beep_mute
 Getter callback for Beep Mute flag. More...
 
set_flag_fn_tset_beep_mute
 Setter callback for Beep Mute flag. More...
 

Detailed Description

Flags.

There is set of callback functions which can redirect some system flags handling to user program.

If set, system makes access to those flags through these callbacks.

Variable Documentation

◆ get_flag_dmy

get_flag_fn_t* get_flag_dmy

Getter callback for DMY flag.

Returns
(0-2) DMY flag value

Value correspond to following formats:

0 -> MDY, 1 -> DMY, 2 -> YMD

◆ is_beep_mute

get_flag_fn_t* is_beep_mute

Getter callback for Beep Mute flag.

Returns
(0/1) 1 - Mute beeps

◆ is_flag_clk24

get_flag_fn_t* is_flag_clk24

Getter callback for CLK24 flag.

Returns
(0/1) 1 - use 24h format

◆ set_beep_mute

set_flag_fn_t* set_beep_mute

Setter callback for Beep Mute flag.

Parameters
val(0/1) 1 - Mute beeps

◆ set_flag_clk24

set_flag_fn_t* set_flag_clk24

Setter callback for CLK24 flag.

Parameters
val(0/1) 1 - use 24h format

◆ set_flag_dmy

set_flag_fn_t* set_flag_dmy

Setter callback for DMY flag.

Parameters
valDMY flag value

See get_flag_dmy for meaning of values.