adc0832 c程序(ADC0832 C program).docVIP

  1. 1、本文档被系统程序自动判定探测到侵权嫌疑,本站暂时做下架处理。
  2. 2、如果您确认为侵权,可联系本站左侧在线QQ客服请求删除。我们会保证在24小时内做出处理,应急电话:400-050-0827。
  3. 3、此文档由网友上传,因疑似侵权的原因,本站不提供该文档下载,只提供部分内容试读。如果您是出版社/作者,看到后可认领文档,您也可以联系本站进行批量认领。
查看更多
adc0832 c程序(ADC0832 C program)

adc0832 c程序(ADC0832 C program) ADC0832 C program Category: electronic integrated ADC0832.html, target=, _blank, title=, ADC0832,, ADC0832 is a 8 bit resolution, dual channel A/D conversion chip produced by National Semiconductor Corporation Ns. Because of its small size, strong compatibility and high cost performance, it is welcomed by SCM enthusiasts and enterprises. It has a high popularity rate now. Study and use ADC0832.html target=, _blank, title=, ADC0832, ADC0832, but let us understand the principle of A/D converter, help us to improve the level of SCM technology. ADC0832 C program //============================================//2005-03-28... 2005-03-29//ADC0834 module C51 program source file //FileName=ADC083X.c//#include#include, DELAY_S.h, #include, ADC083X.h A predefined global variable external / //*******************************************************// serial number: //HD_ADC083X_S01// function: / / / / / / no input port initialization: / / output: / / //********************************************************voidadc083x_init (void) {SET_ADC083X_CS; SET_ADC083X_DO; CLR_ADC083X_CLK; #ifTYPE_VAL=ADC0832.html target=, _blank, title=, ADC0832, ADC0832SET_ADC083X_DI, #endif #ifTYPE_VAL=ADC0834SET_ADC083X_SARS; #endif } //*******************************************************// serial number: //HD_ADC083X_S02// function: AD / / / / read data byte input: //chanel channel number and single, double end set, its value is a value of type restrictions! The effective value is select / / take a minimum of 4 and 3 respectively, 2 / or not to use specific values. See Synonyms at PDF document! / / output: //AD conversion results byte //********************************************************ucharadc083x_do_one_change (ucharchanel) {uchardataad_val; uchardatai; / / before conversion to initialize the SET_ADC083X_CS; CLR_ADC083X_CLK; SET_ADC083X_DO; CLR_ADC083X_CS; //SARS pins are not necessary when not in use to save pin resources! #if (TYPE_VAL==ADC0838) //chanel_.3.

文档评论(0)

jgx3536 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档