- 1、本文档被系统程序自动判定探测到侵权嫌疑,本站暂时做下架处理。
- 2、如果您确认为侵权,可联系本站左侧在线QQ客服请求删除。我们会保证在24小时内做出处理,应急电话:400-050-0827。
- 3、此文档由网友上传,因疑似侵权的原因,本站不提供该文档下载,只提供部分内容试读。如果您是出版社/作者,看到后可认领文档,您也可以联系本站进行批量认领。
查看更多
adc0834模块的c51程序源文件(The C51 program source file for the adc0834 module)
adc0834模块的c51程序源文件(The C51 program source file for the adc0834 module) ADC0832-2 application Author: anonymous date: 2010 03 month 27 day [source: unknown font: Small] I want to comment (0) -------------------------------------------------------------------------------- Core prompt: //==============================================================================//2005-03-28... 2005-03-29//ADC0834 module C51 source file //File Name=ADC083X.c//==============================================================================#include include # //============================================================================== //2005-03-28... 2005-03-29 The C51 program source file for the //ADC0834 module //File Name=ADC083X.c //============================================================================== #include #include DELAY_S.h #include ADC083X.h A predefined global variable external / //******************************************************* / / number: / / HD_ADC083X_S01 / / function: / / port initialization / / input: / / no / / output: / / no //******************************************************** Void adc083x_init (void) { SET_ADC083X_CS; SET_ADC083X_DO; CLR_ADC083X_CLK; #if TYPE_VAL =ADC0832 SET_ADC083X_DI; #endif #if TYPE_VAL =ADC0834 SET_ADC083X_SARS; #endif } //******************************************************* / / number: / / HD_ADC083X_S02 / / function: Read data byte / / AD / / 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 bit or not used / / specific values found in the PDF document! / / output: / / AD conversion results byte //******************************************************** Uchar adc083x_do_one_change (uchar Chanel) { Uchar data ad_val; Uchar data i; / / initialization before conversion SET_ADC083X_CS; CLR_ADC083X_CLK; SET_ADC083X_DO; CLR_ADC083X_CS; //SARS pins are not necessary when not in use to save pin r
您可能关注的文档
- dnf红眼、千手罗汉、武神、瓦里基尔、重炮掌控者加点(DNF red, Rohan, Valkyrie, Wali Gil Senju, heavy artillery control points).doc
- dnf部分加点(DNF add some points).doc
- dns使用(DNS usage).doc
- dns服务器vs域控制器(DNS server vs domain controller).doc
- dom基础和基本api(DOM basic and basic API).doc
- dota ai 指令及游戏模式(指令及游戏模式 bit oh).doc
- dota新手入门教学……(Dota novice introduction to teaching......).doc
- dreamweaver期末考试(Dreamweaver final exam).doc
- dreamweaver标签库(Dreamweaver tag library).doc
- ds1820 温度传感器的汇编程序(DS1820 temperature sensor assembly procedures).doc
- adc0832 c程序(ADC0832 C program).doc
- adsl架设方法补充和内网架设想法说明(ADSL erection methods complement and internal network erection ideas).doc
- adc选型表,adc常用型号(ADC selection form, ADC commonly used model).doc
- adobe audion消音教程(audion消音教程.).doc
- ad转换器大全(AD converter Daquan).doc
- aip建模(AIP modeling).doc
- ai 快捷键大全(AI keyboard shortcuts).doc
- ai常用快捷键大全(AI commonly used shortcuts Daquan).doc
- all6(501~1000).lrc(人(501 ~ LRC 1000)。).doc
- altium_designer 常用的快捷键(Altium_designer commonly used shortcut keys).doc
有哪些信誉好的足球投注网站
文档评论(0)