概述
51单片机 板子内部引脚电路对应的锁存端声明及常用类型定义的头文件
#ifndef UTILITIES_H_INCLUDED
#define UTILITIES_H_INCLUDED
typedef unsigned char uchar, BYTE, uint8;
typedef unsigned int uint, WORD, uint16;
typedef unsigned long ulong, DWORD, uint32;
typedef char int8;
typedef int int16;
typedef long int32;
typedef unsigned char * uchar_p;
typedef unsigned int * uint_p;
typedef unsigned long * ulong_p;
typedef char * char_p;
typedef int * int_p;
typedef long * long_p;
#endif // UTILITIES_H_INCLUDED
sbit ADDR0 = P1^0;
sbit ADDR1 = P1^1;
sbit ADDR2 = P1^2;
sbit ADDR3 = P1^3;
sbit ENLED = P1^4;
sbit ENLCD = P1^5;
sbit BUZZ = P1^6;
sbit S1302 = P1^7;
sbit KEY_OUT_3 = P2^0;
sbit KEY_OUT_2 = P2^1;
sbit KEY_OUT_1 = P2^2;
sbit KEY_OUT_0 = P2^3;
sbit KEY_IN_0 = P2^4;
sbit KEY_IN_1 = P2^5;
sbit KEY_IN_2 = P2^6;
sbit KEY_IN_3 = P2^7;
最后
以上就是灵巧心情为你收集整理的utilities.h的全部内容,希望文章能够帮你解决utilities.h所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复