main._h
来自「用AVR控制旭光高频头JS-6B1/111程序.」· _H 代码 · 共 31 行
_H
31 行
#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 + =
减小字号Ctrl + -
显示快捷键?