DMCP interface  03.15_020
Auto OFF

Auto OFF related functions. More...

Macros

#define AUTO_OFF_SECONDS   600
 Seconds of inactivity for auto-off.
 
#define AUTO_OFF_MENU   300
 Seconds of inactivity for menu auto-off.
 

Functions

void reset_auto_off ()
 Resets auto-off timer.
 
int is_auto_off ()
 Check auto-off state. More...
 
int is_menu_auto_off ()
 Check menu auto-off state. More...
 
int sys_auto_off_cnt ()
 Returns remaining auto-off seconds. More...
 

Detailed Description

Auto OFF related functions.

Function Documentation

◆ is_auto_off()

int is_auto_off ( )

Check auto-off state.

Returns
(0/1) 1 - Auto-off timer expired

◆ is_menu_auto_off()

int is_menu_auto_off ( )

Check menu auto-off state.

Returns
(0/1) 1 - Menu auto-off timer expired

◆ sys_auto_off_cnt()

int sys_auto_off_cnt ( )

Returns remaining auto-off seconds.

Returns
Remaining auto-off seconds