Both_Way_Comm_SY8833/TP3310_Demo.si4project/Backup/userapp(640).h

48 lines
1.4 KiB
C

/*
******************************************************************************
*
* @file userapp.h
* @brief userapp module
*
*
* @version 1.0
* @date 2023/05/12 09:59:40
* @author Alex Xu
*
* Copyright (c) 2013-2099,Tkplusemi Technology Co.,Ltd.
* All Rights Reserved
*
* History:
* Revision Date Author Desc
* 1.0.0 2023/07/12 Alex build this file
******************************************************************************
*/
#ifndef __USERAPP_H__
#define __USERAPP_H__
#include "define.h"
/******************************************************************************\
Macro definitions
\******************************************************************************/
#define BAT_LEVEL_LOW 20 //电池电量低报警值
#define LED_ON_CNT 40 //4s
/******************************************************************************\
Typedef definitions
\******************************************************************************/
/******************************************************************************\
Global variables and functions
\******************************************************************************/
extern uint8_t LED_On_Timer; //led亮时间计时
extern bool led_blink_1time_flag;
extern void UserAPP(void);
#endif