代码搜索结果
找到约 10,000 项符合
ADC 的代码
adc.c
#include
#include "STK6031.h"
//********************************************************************************
//定义数据类型
typedef unsigned char uint8;
typedef unsigned int uint16;
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.h
#ifndef __ADC_H__
#define __ADC_H__
void Test_DMA_Adc(void);
void Test_Adc(void);
#endif /*__ADC_H__*/
adc.c
#include
#include "..\..\inc\44b.h"
#include "..\..\inc\44blib.h"
#include "..\..\inc\cputest\adc.h"
void __irq BDMA1_Done(void);
int ReadAdc(int ch);
void Test_Adc(void)
{
adc.c
/**
* @file adc.c
*
* Copyright (c) 2004 Atmel.
*
* @brief Ce fichier permet de
*
* This file is included by all source files in order to access to system wide
* configuration.
* @version 1.0
adc.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectName="adc"
ProjectDir="C:\ICETEK-VC5416-EDULab\Lab09-AD\"
ProjectType=Executable
CPUFamil
adc.c
#include
#define uchar unsigned char
sbit start=P3^2;
sbit oe=P3^0;
sbit jieshu=P3^1;
sbit P20=P2^0; //显示位
sbit P21=P2^1;
sbit P22=P2^2;
sbit P23=P2^3;
sbit a=P3^4; //channel
s