1 Star 2 Fork 0

Createtree/iSwitch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bsp_key.h 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
/*-----------------------------------------------------------------------
| FILE DESCRIPTION |
-----------------------------------------------------------------------*/
/*----------------------------------------------------------------------
- File name : bsp_key.h
- Author : liuzhihua
- Update date : 2024.09.07
- File Function : borad key driver
- Version : V1.0
-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------
| UPDATE NOTE |
-----------------------------------------------------------------------*/
/**
* Update note:
* ------------ --------------- ----------------------------------
* Date Author Note
* ------------ --------------- ----------------------------------
* 2024.07.14 liuzhihua Create file
* 2024.09.07 liuzhihua Update file
***/
#ifndef __BSP_KEY_H__
#define __BSP_KEY_H__
/*-----------------------------------------------------------------------
| INCLUDES |
-----------------------------------------------------------------------*/
#include <string.h>
#include <stdint.h>
#include "iSwitch.h"
#ifdef __cplusplus
extern "C" {
#endif
/*-----------------------------------------------------------------------
| DEFINES |
-----------------------------------------------------------------------*/
#define BSP_KEY_NUM 4
extern iSW_t hisw1[BSP_KEY_NUM];
/*-----------------------------------------------------------------------
| API FUNCTION |
-----------------------------------------------------------------------*/
void bsp_key_init(void);
void bsp_key_input_read(uint8_t offset, uint8_t *results, uint16_t num);
void TaskInput(void const * argument);
#ifdef __cplusplus
}
#endif
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Createtree/iswitch.git
[email protected]:Createtree/iswitch.git
Createtree
iswitch
iSwitch
master

搜索帮助