1 Star 0 Fork 2

bg4uvr/APRS_Modem

forked from BH1PHL/APRS_Modem 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bitmanip.h 268 Bytes
一键复制 编辑 原始数据 按行查看 历史
BH1PHL 提交于 2022-10-06 17:47 +08:00 . Add .c files
#ifndef __BITMANIP_H_
#define __BITMANIP_H_
#define BIT(x) (1 << (x)) //选择某一位
#define STB(p,b) ((p)|=(b)) //置位
#define CLB(p,b) ((p)&=~(b)) //清位
#define FLB(p,b) ((p)^=(b)) //flip bit
#define CHB(p,b) ((p) & (b)) //测试某一位是否是0
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/bg4uvr/APRS_Modem.git
[email protected]:bg4uvr/APRS_Modem.git
bg4uvr
APRS_Modem
APRS_Modem
master

搜索帮助