代码搜索:GetKey
找到约 2,187 项符合「GetKey」的源代码
代码结果 2,187
www.eeworm.com/read/466748/7032060
obj getkey.obj
www.eeworm.com/read/466748/7032111
c getkey.c
/***********************************************************************/
/* This file is part of the C51 Compiler package */
/* Copyright KEIL ELEKTRONIK GmbH 1993 - 2002
www.eeworm.com/read/302087/7071243
h getkey.h
#include
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/302087/7071253
h getkey.h
#include
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/130861/7109347
lst getkey.lst
C51 COMPILER V7.10 GETKEY 12/14/2004 00:05:37 PAGE 1
C51 COMPILER V7.10, COMPILATION OF MODULE GETKEY
OBJECT MODULE PLACED IN
www.eeworm.com/read/130861/7109369
src getkey.src
; .\getkey.SRC generated from: ..\SourceFile\getkey.c
; COMPILER INVOKED BY:
; C:\Program Files\Keil\C51\BIN\C51.EXE ..\SourceFile\getkey.c LARGE BROWSE DEBUG OBJECTEXTEND PRINT(.\getkey.lst)
www.eeworm.com/read/130861/7109385
obj getkey.obj
www.eeworm.com/read/140797/7147143
h getkey.h
#ident "$Id$"
/* ----------------------------------------------------------------------- *
*
* Copyright 2004 H. Peter Anvin - All Rights Reserved
*
* Permission is hereby granted, free of
www.eeworm.com/read/462622/7199215
c getkey.c
#include
//扫描按键
uchar get_key(void)
{uchar key=0;
DDRC&=0xef;
PORTC|=0x10;
if((PINC&0x10)==0x00)
{key=1;
while((PINC&0x10)==0x00);
}
else key=0;
return(key);
}
www.eeworm.com/read/462622/7199219
i getkey.i
// CodeVisionAVR C Compiler
// (C) 1998-2004 Pavel Haiduc, HP InfoTech S.R.L.
// I/O registers definitions for the ATmega8
#pragma used+
sfrb TWBR=0;
sfrb TWSR=1;
sfrb TWAR=2;
sfrb TWDR=3;