20 Star 251 Fork 67

createskyblue/OpenT12

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Rotary.h 604 Bytes
一键复制 编辑 原始数据 按行查看 历史
createskyblue 提交于 2021-12-31 13:47 +08:00 . 优化头文件目录结构
#ifndef sys_Counter_H
#define sys_Counter_H
#include <stdint.h>
#include "Type.h"
#define ROTARY_TYPE 2
extern uint8_t SYSKey;
extern bool Counter_LOCK_Flag;
void sys_RotaryInit(void);
void sys_Counter_Set(double min, double max, double step, double c);
void sys_Counter_SetVal(double c);
void RotaryUp(void);
void RotaryDown(void);
void sys_Counter_click(void);
void sys_Counter_doubleclick(void);
void sys_Counter_longclick(void);
void sys_Counter_IRQHandler(void);
double sys_Counter_Get(void);
uint8_t sys_Counter_Change(void);
void Clear_RButton_FIFO(void);
uint8_t sys_KeyProcess(void);
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/createskyblue/OpenT12.git
git@gitee.com:createskyblue/OpenT12.git
createskyblue
OpenT12
OpenT12
master

搜索帮助