-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAppKey.h
More file actions
54 lines (45 loc) · 1.2 KB
/
Copy pathAppKey.h
File metadata and controls
54 lines (45 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/********************************** (C) COPYRIGHT *******************************
* File Name : AppKey.h
* Author : axushilong@163.com
* Version : V0.1
* Date : 2022/09/
* Description
* Copyright (c) 2022 axushilong
* SPDX-License-Identifier: Apache-2.0
*******************************************************************************/
#ifndef __APPKEY_H__
#define __APPKEY_H__
#ifdef __cplusplus
extern "C" {
#endif
#include "CH58xBLE_LIB.h"
//#include "CH58xBLE_ROM.h"
#include "CH58x_common.h"
#define DE_KeyPeriodicEvent (1<<0)
extern tmosTaskID ucKeyAppTaskID;
/**
* @fn vKeyAppInit
*
* @brief 显示部分初始化,主要是初始LCD驱动芯片TM1621C的相关引脚
*
* @param NONE
*
* @return NONE
*/
void vKeyAppInit(void);
/**
* @fn usEnergyAppProcessEvent
*
* @brief 按键应用任务事件处理
*
* @param ucTaskID - The TMOS assigned task ID.
* @param usEvents - events to process. This is a bit map and can
* contain more than one event.
*
* @return events.
*/
tmosEvents usKeyAppProcessEvent(tmosTaskID ucTaskID, tmosEvents usEvents);
#ifdef __cplusplus
}
#endif
#endif // __BASE64_H__