1 Star 0 Fork 3

hello_wxj/stc89c52

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
spin_interupt.h 545 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef SPININTERUPTH
#define SPININTERUPTH
#include <reg52.h> //此文件中定义了51的一些特殊功能寄存器
#include"spin_common.h"
extern uint* inter_vector_function[inter_num]; //放到这里,方便调用该头文件的文件,需要调用提供中断回调函数
typedef void*(interupt_callback)(void *);
void spin_interupt_init();
void spin_interupt_enable();
void spin_interupt_disable();
void spin_interupt_open(INTER_LIST num,INTER_PRORITY prority);
void spin_interupt_close(INTER_LIST num);
void spin_interupt_set_params(INTER_LIST num,uchar params); //不好用
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hello-wxj/stc89c52.git
git@gitee.com:hello-wxj/stc89c52.git
hello-wxj
stc89c52
stc89c52
master

搜索帮助