62 lines
1.1 KiB
C
62 lines
1.1 KiB
C
|
|
#ifndef __SF_SYSTEM_H__
|
|
#define __SF_SYSTEM_H__
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#endif
|
|
#include "sf_type.h"
|
|
#include "sf_param_common.h"
|
|
|
|
extern SINT32 bUpdateEnble;
|
|
extern SINT32 s32ThreeWaySwitch;
|
|
|
|
void app_poweroff_time_clear(void);
|
|
|
|
SINT8 app_flash_poweroff_task_IsRun(void);
|
|
|
|
SINT32 app_funkey_switch_check_start(void);
|
|
|
|
SINT32 app_funkey_switch_check_stop(void);
|
|
|
|
SINT32 app_upgrade_restore_start(void);
|
|
|
|
SINT32 app_upgrade_restore_stop(void);
|
|
|
|
SINT8 app_upgrade_restore_IsRun(void);
|
|
|
|
SINT32 app_system_poweroff(SF_POWEROFF_TYPE_E enType );
|
|
|
|
SINT32 app_usb_mode_start(void);
|
|
|
|
SINT32 app_system_time_update(unsigned int rtosBootTime) ;
|
|
|
|
SINT32 app_system_param_update(void);
|
|
|
|
SINT32 app_http_time_by_timezone_set(void);
|
|
|
|
SINT32 app_upgrade_sd_execute(void);
|
|
|
|
SINT32 app_upgrade_ota_restore_start(void);
|
|
|
|
SINT32 app_upgrade_ota_restore_stop(void);
|
|
|
|
SINT8 app_upgrade_ota_restore_IsRun(void);
|
|
|
|
SINT32 app_preinit(void);
|
|
|
|
UINT8 *sf_versionGet(UINT8 ver[],UINT8 fea[]);
|
|
|
|
void sf_power_off(void);
|
|
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|