You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
936 B
35 lines
936 B
////////////////////////////////////////////////////////////////////////////
|
|
///@copyright Copyright (c) 2018, 传控科技 All rights reserved.
|
|
///-------------------------------------------------------------------------
|
|
/// @file bsp_drv.h
|
|
/// @brief bsp @ driver config
|
|
///-------------------------------------------------------------------------
|
|
/// @version 1.0
|
|
/// @author CC
|
|
/// @date 20180331
|
|
/// @note cc_AS_stc02
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _APP_TASK_BTN_NONBLOCK_H
|
|
#define _APP_TASK_BTN_NONBLOCK_H
|
|
|
|
#include "../ctask/task.h"
|
|
#include "../clib/clib.h"
|
|
|
|
typedef struct _s_task_btn
|
|
{
|
|
TS_task task;
|
|
U8 row, col;
|
|
U16 times;
|
|
U16 times_threshold;
|
|
}S_TASK_BTN;
|
|
|
|
extern S_TASK_BTN _s_task_btn;
|
|
|
|
extern void L3_task_btn_init(void);
|
|
extern void L3_task_btn_handler(S_TASK_BTN *s);
|
|
|
|
|
|
#endif // #ifndef _APP_TASK_BTN_NONBLOCK_H
|
|
|
|
|