- 1、本文档被系统程序自动判定探测到侵权嫌疑,本站暂时做下架处理。
- 2、如果您确认为侵权,可联系本站左侧在线QQ客服请求删除。我们会保证在24小时内做出处理,应急电话:400-050-0827。
- 3、此文档由网友上传,因疑似侵权的原因,本站不提供该文档下载,只提供部分内容试读。如果您是出版社/作者,看到后可认领文档,您也可以联系本站进行批量认领。
查看更多
adc0831(adc0831)
adc0831(adc0831) ADC0832 C program //============================================ //2005-03-28... 2005-03-29 The C51 program source file for the //ADC0834 module //FileName=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 //******************************************************** Voidadc083x_init (void) { SET_ADC083X_CS; SET_ADC083X_DO; CLR_ADC083X_CLK; #ifTYPE_VAL=ADC0832.html, target=, _blank, title=, ADC0832, ADC0832 and PDF SET_ADC083X_DI; #endif #ifTYPE_VAL=ADC0834 SET_ADC083X_SARS; #endif } //******************************************************* / / number: //HD_ADC083X_S02 / / function: Read data byte / / AD / / input: The //chanel channel number and the single and double end settings are selected, whose values are limited by type values! 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: Result bytes for //AD conversion //******************************************************** Ucharadc083x_do_one_change (ucharchanel) { Uchardataad_val; Uchardatai; / / 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 resources! #if (TYPE_VAL==ADC0838) //chanel_.3.2.1.0=0000 channel 0+_ channel 1-, =001 channel 2+_ channel 3- (double ended mode) //SGL/DIFODD/SIGNSELECTSELECT=0010 channel 4+_ channel 5-, =011 channel 6+_ channel 7- (double ended mode) //=0100 channel 0-_ channel 1+, =0101 channel 2-_ channel 3+ (double ended mode) //=0110 channel 4-_ channel 5+, =0111 channel 6-_ channel 7+ (double ended mode) //=1000 channel 0+, =1001 Channel 2+ (single ended mode) //=1010 channel 4+, =1011 Channel 6+ (single ended mode) //=1100 channel 1+, =1101 Channel 3+ (sing
您可能关注的文档
- diy电脑(DIY computer).doc
- dm商品的选择(Choice of DM goods).doc
- 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
- adams使用心得(Adams usage experience).doc
- adc0834模块的c51程序源文件(The C51 program source file for the adc0834 module).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
最近下载
- 小学英语新人教精通版三年级上册Unit 4 Friends Lesson 2教学课件2024秋.pptx
- 2025年易制毒化学品考试练习测试题附答案.doc
- 能源技术革命创新行动计划(2025-2030年).pptx VIP
- 创业资源的管理与整合.pptx VIP
- 2024科技住宅设计标准.docx VIP
- 2025年信息管理系统项目立项申请报告模板.docx
- 管道施工ppt课件学习资料.ppt VIP
- 【2024年7月中考试题观察研讨课件】7. 滨州中考第21题 解析.pptx VIP
- GB50156-2012(2014年版) 汽车加油加气站设计与施工规范.pdf VIP
- _黄帝内经_中相关_血气_气血_论述辨析.kdh.pdf VIP
有哪些信誉好的足球投注网站
文档评论(0)