代码搜索:KeyScan
找到约 2,231 项符合「KeyScan」的源代码
代码结果 2,231
www.eeworm.com/read/366677/9805287
h keyscan.h
/******4X4键盘扫描c头文件**名称:keyaction()********/
/******功能:完成键盘扫描并转向相应的按键子程序*****/
/*****无参数传递,无返回值**************************/
/**********51系列**P1口接4X4矩阵键盘****************/
/*****************build by 李
www.eeworm.com/read/364610/9903148
hex keyscan.hex
:03000000020800F3
:0C080000787FE4F6D8FD758115020847EA
:100928003F065B4F666D7D077F6F777C395E797117
:0409380000010100B9
:08093C000213FEFD0211000090
:10090200758901758CF0758A60D28CD2A9D2AF122A
:100
www.eeworm.com/read/364610/9903155
plg keyscan.plg
礦ision3 Build Log
Project:
E:\经典程序试验\一个执行效率很高的4x4键盘程序\keyscan.uv2
Project File Date: 07/31/2008
Output:
www.eeworm.com/read/364610/9903161
c keyscan.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
unsigned char code table[]={0x3f,0x06,0x5b,0x4f,
0x66,0x6d,0x7d,0x07,
0x7f,0x6f,0x77,0x7c,
0x39,0x5e,
www.eeworm.com/read/364610/9903162
obj keyscan.obj
www.eeworm.com/read/364610/9903166
lst keyscan.lst
C51 COMPILER V8.06 KEYSCAN 07/31/2008 16:08:35 PAGE 1
C51 COMPILER V8.06, COMPILATION OF MODULE KEYSCAN
OBJECT MODULE PLACED IN
www.eeworm.com/read/364610/9903167
opt keyscan.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
www.eeworm.com/read/364146/9920567
c keyscan.c
#include "def.h"
#include "2410addr.h"
#include "2410lib.h"
#include "2410slib.h"
#include "mmu.h"
#include "uart.h"
#include "timer.h"
/******************************************************
www.eeworm.com/read/363700/9939867
h keyscan.h
#include "cpu.h"
#define SCANTIME 217 //3ms 236 //5ms 217 //10ms 4M
#define P2 (*(0x05))
//#define MATRIX //若定义为MATRIX则为4X4键盘的扫描,否则为单个端口的扫描。
#define KeyScan() P2&0x03