⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keyscan.mak

📁 一个解决5个IO口扫描25个按键的解决方法,完整文件包,有参考意义,C51.
💻 MAK
字号:
CC = iccavr
CFLAGS =  -ID:\icc\include\ -e -D__ICC_VERSION="7.13A" -DATMega8  -l -A -A -Wf-O24 -g -Mavr_enhanced_small -Wa-W 
ASFLAGS = $(CFLAGS)  -Wa-g
LFLAGS =  -LD:\icc\lib\ -g -e:0x2000 -Wl-W -bfunc_lit:0x26.0x2000 -dram_end:0x45f -bdata:0x60.0x45f -dhwstk_size:32 -beeprom:0.512 -fihx_coff -S2
FILES = EX_Support.o HD_Support.o PF_Config.o System.o 

KEYSCAN:	$(FILES)
	$(CC) -o KEYSCAN $(LFLAGS) @KEYSCAN.lk  
EX_Support.o: F:\AVR\按键扫描\PF_Config.h D:\icc\include\iom8v.h F:\AVR\按键扫描\RD_UseAVRPortBit.h F:\AVR\按键扫描\RD_UseBITs.h F:\AVR\按键扫描\RD_MacroAndConst.h D:\icc\include\macros.h F:\AVR\按键扫描\HD_Support.h F:\AVR\按键扫描\EX_Support.h F:\AVR\按键扫描\Ex_Support.h
EX_Support.o:	F:\AVR\按键扫描\EX_Support.c
	$(CC) -c $(CFLAGS) F:\AVR\按键扫描\EX_Support.c
HD_Support.o: F:\AVR\按键扫描\PF_Config.h D:\icc\include\iom8v.h F:\AVR\按键扫描\RD_UseAVRPortBit.h F:\AVR\按键扫描\RD_UseBITs.h F:\AVR\按键扫描\RD_MacroAndConst.h D:\icc\include\macros.h F:\AVR\按键扫描\HD_Support.h F:\AVR\按键扫描\EX_Support.h
HD_Support.o:	F:\AVR\按键扫描\HD_Support.c
	$(CC) -c $(CFLAGS) F:\AVR\按键扫描\HD_Support.c
PF_Config.o: F:\AVR\按键扫描\PF_Config.h D:\icc\include\iom8v.h F:\AVR\按键扫描\RD_UseAVRPortBit.h F:\AVR\按键扫描\RD_UseBITs.h F:\AVR\按键扫描\RD_MacroAndConst.h D:\icc\include\macros.h F:\AVR\按键扫描\HD_Support.h F:\AVR\按键扫描\EX_Support.h
PF_Config.o:	F:\AVR\按键扫描\PF_Config.c
	$(CC) -c $(CFLAGS) F:\AVR\按键扫描\PF_Config.c
System.o: F:\AVR\按键扫描\LIB_Config.h F:\AVR\按键扫描\RD_MacroAndConst.h D:\icc\include\macros.h F:\AVR\按键扫描\PF_Config.h D:\icc\include\iom8v.h F:\AVR\按键扫描\RD_UseAVRPortBit.h F:\AVR\按键扫描\RD_UseBITs.h F:\AVR\按键扫描\HD_Support.h F:\AVR\按键扫描\EX_Support.h
System.o:	F:\AVR\按键扫描\System.c
	$(CC) -c $(CFLAGS) F:\AVR\按键扫描\System.c

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -