代码搜索结果
找到约 10,000 项符合
ADC 的代码
adc.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.a*; *.src)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt)
pExt (*.plm)
CppX (*.cpp)
DaveTm { 0,0,0,0,0,0,0,0 }
adc.h
#define channel 4
#define use_channel(locate) ADMUX&=0xf0;(ADMUX|=locate)
#define adc_channel A,channel
#define N6100BLitADC A,4
unsigned int get_ad(void)
{
unsigned int
adc.txt
// 16-bit Analogue-Digital Converter
//
// +-----------------------------+
// | Copyright 1996 DOULOS |
// | designer : Tim Pagden |
// | opened: 7 Jun 1996 |
// +----------
adc.c
#include "mqb.h"
BYTE GetADCData(BYTE Chanel)/*Chanel=0x0c;0x0d;0x0e;0x0f*/
{
BYTE ch,i,ch1;
bit b;
ADCCS=1;
ADCCLK=0;
ADCCS=0;
Chanel+=0xc;
for (i=0;i
adc.plg
礦ision2 Build Log
Project:
C:\Documents and Settings\Administrator\桌面\c8051\例程\ad转换\AD测试cpu温度程序\adc.uv2
Project File Date: 05/29/2008
Output:
adc.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 {
adc.c
/****************************************************************
* ARMSYS S3C44B0X ADC TEST *
****************************************************************
1.2005.4.24:: AD
adc.h
#ifndef __ADC_H__
#define __ADC_H__
void Test_Adc(void);
int ReadAdc(int ch);
#endif /*__ADC_H__*/
adc.txt
/*=============================================================================
使用PIC16F877A片内ADC,运行程序,LED0到LED7显示AD_IN电压
============================================================================