代码搜索结果
找到约 10,000 项符合
ADC 的代码
adc.h
/***********************************************************/
/*
adc.h
Header file for analog-to-digital conversion
*/
/***********************************************************/
#def
adc.c~
#include
#include
#include
#include
#include "typedef.h"
#include "app.h"
#include "rtc.h"
#include "serialdrv.h"
#include "timer.h"
#inclu
adc.h~
#ifndef ADC_H__
#define ADC_H__
extern unsigned int adcvalue0;
extern unsigned int adcvalue1;
extern unsigned int adcvalue2;
extern unsigned int adcvalue3;
extern eeprom unsigned int MY_ID
adc.h
#ifndef ADC_H__
#define ADC_H__
extern unsigned int adcvalue0;
extern unsigned int adcvalue1;
extern unsigned int adcvalue2;
extern unsigned int adcvalue3;
extern eeprom unsigned int MY_ID
adc.c
#include
#include
#include
#include
#include "typedef.h"
#include "app.h"
#include "rtc.h"
#include "serialdrv.h"
#include "timer.h"
#inclu
adc.i
// CodeVisionAVR C Compiler
// (C) 1998-2004 Pavel Haiduc, HP InfoTech S.R.L.
// I/O registers definitions for the ATmega128
#pragma used+
sfrb PINF=0;
sfrb PINE=1;
sfrb DDRE=2;
sfrb PORTE=3
adc.c
/*
********************************************************************************
*
* LCD控制程序
*
* 这是SCALAR当中与ADC相关的部分
*
* 文件名 : ADC.C
adc.h
#ifndef __ADC_H
#define __ADC_H
/* PIC18 A/D conversion peripheral library. */
/* There are two different forms of ADC peripheral interfaces, the old style is
* 2 control registers (ADCON0/1)
adc.asm
//*****************************************************************************/
// 文件名称: ADC.asm
// 实现功能: 完成模数转换的功能
// IDE环境: SUNPLUS u'nSPTM IDE 1.16.4
// 日期: 2005/7/19
// 作者:Eric
adc.h
#define TEMPERATURE_SENSOR 0
#define VOLTAGE_SENSOR 1
#define LIGHT_SENSOR 2
//#define Vref 2.85
void ADC_init(char );
int ADC_read(void);
void ADC_periphery(void