代码搜索:ADC
找到约 10,000 项符合「ADC」的源代码
代码结果 10,000
www.eeworm.com/read/342241/12033730
#1 adc.#1
#include "adc.h"
//设置门限电压函数
void Set_Threshold( unsigned char threshold )
{
SFRPAGE = ADC2_PAGE;
threshold = threshold*255/400;
ADC2GT = threshold;
ADC2LT = 0;
}
/*
un
www.eeworm.com/read/342241/12033764
c adc.c
#include "adc.h"
//设置门限电压函数
void Set_Threshold( unsigned char threshold )
{
unsigned int h;
SFRPAGE = ADC2_PAGE;
h = threshold*255/400;
ADC2GT = (char)h;
ADC2LT = 0;
www.eeworm.com/read/342241/12033779
#3 adc.#3
#include
//【ADC2接口函数】
void Set_Threshold( unsigned char threshold );
unsigned char Acquire_Data( void );
www.eeworm.com/read/342241/12033796
#2 adc.#2
#include "adc.h"
//设置门限电压函数
void Set_Threshold( unsigned char threshold )
{
SFRPAGE = ADC2_PAGE;
ADC2GT = threshold;
ADC2LT = 0;
}
/*
unsigned char Acquire_Data( void )
www.eeworm.com/read/342241/12033847
obj adc.obj
www.eeworm.com/read/342238/12034184
dni adc.dni
[Interrupts]
Enabled=1
[MemoryMap]
Enabled=0
Base=0
UseAuto=0
TypeViolation=1
UnspecRange=1
ActionState=1
[TraceHelper]
Enabled=0
ShowSource=1
[DisAssemblyWindow]
NumStates=_ 1
State 1=_
www.eeworm.com/read/342238/12034192
c adc.c
#include
static unsigned int results;
void main(void)
{
WDTCTL = WDTPW+WDTHOLD; // Stop watchdog timer
P6SEL = 0x10; // Enable A