📄 main.h
字号:
#ifndef __MAIN_H_
#define __MAIN_H_
#include <iom128v.h>
#include <macros.h>
#include "..\inc\i2c.h"
#include "..\inc\tuner.h"
#define XTAL 8
#define SET_BIT(x,y) ((x)|=(1<<(y)))
#define CLR_BIT(x,y) ((x)&|~(1<<(y)))
#define GET_BIT(x,y) ((x)&(1<<(y)))
#define uchar unsigned char
#define uint unsigned int
#define ufloat unsigned float
//typedef bit BIT;
//typedef bit BOOL;
typedef unsigned char BYTE;
typedef unsigned int WORD;
typedef unsigned long DWORD;
#define n 0
#define y 1
#define demo 0
#define test 0
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -