代码搜索结果
找到约 10,000 项符合
ADC 的代码
adc0809.h
/*数模转换*/
#define uint unsigned int
#define uchar unsigned char
#define nop _nop_
#define OUTPORT P1
uchar T1count=0;
uchar F; //frequency
//启动一次AD转换
uint AD_transform()//uchar AD_transform
stc_adc.h
sfr P1_ADC_EN=0x97;
sfr ADC_CONTR=0xc5;
sfr ADC_DATA=0xc6;
int GetAD(unsigned char channel) //用户函数,channel为要取的通道号(0~7)
{
unsigned char AD_finished=0;
// AD_Init(1
adc0831.h
#include
#include
#include
sbit adcdo=P0^0;
sbit adccs=P0^2;
sbit adcclk=P0^1;
uchar bdata ch;
sbit ch_0 = ch^0;
void delay1(uchar x)
{
uchar i;
for
jlinkarm_adc.ini
[BREAKPOINTS]
ShowInfoWin = 1
EnableFlashBP = 2
BPDuringExecution = 0
[CFI]
CFISize = 0x00
CFIAddr = 0x00
[CPU]
OverrideMemMap = 0
AllowSimulation = 1
ScriptFile=""
[FLASH]
SkipProgOnCRCMa
adc16.h
// This file contains the defines for the ADC "driver".
#ifndef __ADC16_H__
#define __ADC16_H__ 1
#define ADC0_irq_no 57
#define ADC1_irq_no 58
// Bit shifting of bitfiled is already ta