66 lines
1.2 KiB
C
66 lines
1.2 KiB
C
#ifndef __SF_DEVICE_H__
|
|
#define __SF_DEVICE_H__
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#endif
|
|
//#include <io/gpio.h>
|
|
#include <sf_type.h>
|
|
#include "sf_param_common.h"
|
|
#include <sf_ledmng.h>
|
|
|
|
|
|
typedef enum sfHAL_LED_STATE_E
|
|
{
|
|
SF_HAL_LED_STATE_OFF = 0,/**<led off state*/
|
|
SF_HAL_LED_STATE_ON, /**<led on state*/
|
|
SF_HAL_LED_STATE_BUIT,
|
|
} SF_HAL_LED_STATE_E;
|
|
|
|
|
|
|
|
|
|
SINT32 app_pir_monitoring_start(void);
|
|
|
|
SINT32 app_pir_monitoring_stop(void);
|
|
|
|
SINT32 app_led_all_status_set(SF_LED_STATUS_E enLedStatus,SF_LED_TYPE_E enLedType );
|
|
|
|
SINT32 app_led_net_reg_start(void);
|
|
|
|
SINT32 app_led_net_reg_stop(SINT32 s32ret);
|
|
|
|
SINT32 app_led_poweroff(void);
|
|
|
|
SINT32 app_led_sd_status_return(void);
|
|
|
|
SINT32 app_led_group_register(void);
|
|
|
|
SINT32 app_led_pin_init(void);
|
|
|
|
SINT32 sf_in_card_exist(void);
|
|
|
|
SINT32 sf_is_card_full(void);
|
|
|
|
void sf_set_card_full(SINT32 vol);
|
|
|
|
SINT32 sf_is_card(void);
|
|
|
|
void sf_set_card(SINT32 vol);
|
|
|
|
SINT32 sf_get_pir_statu_flag(void);
|
|
|
|
void sf_set_pir_statu_flag(SINT32 flag);
|
|
|
|
BOOL sf_load_ko(void);
|
|
|
|
SINT32 sf_in_update(void);
|
|
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
#endif
|