资源简介
stm8l内部AD测量温度工程文件,使用库函数。本人在stm8l052r8上测试通过

代码片段和文件信息
/**
******************************************************************************
* @file stm8l15x_adc.c
* @author MCD Application Team
* @version V1.6.1
* @date 30-September-2014
* @brief This file provides firmware functions to manage the following
* functionalities of the Analog to Digital Convertor (ADC) peripheral:
* - Initialization and Configuration
* - Power saving
* - Analog Watchdog configuration
* - Temperature Sensor & Vrefint (Voltage Reference internal) management
* - Regular Channels Configuration
* - Regular Channels DMA Configuration
* - Injected channels Configuration
* - Interrupts and flags management
*
* @verbatim
*
* ===================================================================
* How to use this driver
* ===================================================================
* 1. Enable The ADC controller clock using CLK_PeripheralClockConfig()
* function : CLK_PeripheralClockConfig(CLK_Peripheral_ADC1 ENABLE).
*
* 2. Configure the ADC Prescaler conversion resolution and data
* alignment using the ADC_Init() function.
*
* 3. Activate the ADC peripheral using ADC_Cmd() function.
*
* Regular channels group configuration
* ====================================
* - To configure the ADC regular channels group features use
* ADC_Init() and ADC_RegularChannelConfig() functions.
* - To activate the continuous mode use the ADC_continuousModeCmd()
* function.
* - To configure and activate the Discontinuous mode use the
* ADC_DiscModeChannelCountConfig() and ADC_DiscModeCmd() functions.
* - To read the ADC converted values use the ADC_GetConversionValue()
* function.
*
* DMA for Regular channels group features configuration
* ======================================================
* - To enable the DMA mode for regular channels group use the
* ADC_DMACmd() function.
* - To enable the generation of DMA requests continuously at the end
* of the last DMA transfer use the ADC_DMARequestAfterLastTransferCmd()
* function.
* Injected channels group configuration
* =====================================
* - To configure the ADC Injected channels group features use
* ADC_InjectedChannelConfig() and ADC_InjectedSequencerLengthConfig()
* functions.
* - To activate the continuous mode use the A
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-12-08 15:43 mytestproject\
目录 0 2015-12-09 15:10 mytestproject\Project\
目录 0 2015-12-09 09:15 mytestproject\Project\Debug\
目录 0 2015-12-10 14:50 mytestproject\Project\Debug\Exe\
文件 101352 2015-12-10 14:50 mytestproject\Project\Debug\Exe\templproj.out
目录 0 2015-12-09 09:15 mytestproject\Project\Debug\List\
目录 0 2015-12-10 14:50 mytestproject\Project\Debug\Obj\
文件 6091 2015-12-09 09:37 mytestproject\Project\Debug\Obj\delay.o
文件 190561 2015-12-09 09:37 mytestproject\Project\Debug\Obj\delay.pbi
文件 10253 2015-12-09 09:37 mytestproject\Project\Debug\Obj\delay.pbi.cout
文件 11741 2015-12-10 14:50 mytestproject\Project\Debug\Obj\intTempMeasure.o
文件 7426 2015-12-10 14:50 mytestproject\Project\Debug\Obj\main.o
文件 192487 2015-12-09 09:49 mytestproject\Project\Debug\Obj\main.pbi
文件 10255 2015-12-09 09:49 mytestproject\Project\Debug\Obj\main.pbi.cout
文件 1076701 2015-12-09 09:49 mytestproject\Project\Debug\Obj\Project.pbd
文件 1076701 2015-12-09 09:49 mytestproject\Project\Debug\Obj\Project.pbd.browse
文件 44145 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_adc.o
文件 202637 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_adc.pbi
文件 10285 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_adc.pbi.cout
文件 25032 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_aes.o
文件 200264 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_aes.pbi
文件 10285 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_aes.pbi.cout
文件 11479 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_beep.o
文件 193102 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_beep.pbi
文件 10286 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_beep.pbi.cout
文件 52476 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_clk.o
文件 206650 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_clk.pbi
文件 10285 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_clk.pbi.cout
文件 28950 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_comp.o
文件 210309 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_comp.pbi
文件 10286 2015-12-09 09:37 mytestproject\Project\Debug\Obj\stm8l15x_comp.pbi.cout
............此处省略152个文件信息
相关资源
- pthreads-w32-2-9-1-release.zip
- 电信中兴光猫超密获取工具使用方法
- pscad近海风电模型 Fortran语言
- AutoCAD永久去教育版破解补丁
- grads绘制雨量(GRID.GRD)
- HAP_Advanced_PDF_Password_Recovery 5.05
- Reparatory Effects of Nicotine on NMDA Recepto
- LenovoTinkPad; Marker 5.01
- railroad铁路CAD生成
- CAD中插入带坐标的正射影像——Inse
- 单片机和adc0809数字电压表
- adams vibration 练习原文件
- 单片机、ADC0808809设计简易数字电压表
- STM32基于rt_thread操作系统的SDHC卡文件
- 加密cad图形的lisp文件
- Auto CAD_LISP程序集
- CAD2010注册机32bit and 64bit
- ado数据库MFC图书管理系统vs2010
- 基于c8051f020的AD转换程序及LCD显示程序
- 地下停车场CAD设计图
- 实时显示钢筋标注面积V0.44
- Adobe Illustrator CS5原版amtlib.dll文件
- CAD计算板料展开插件
- ADNS-3080光流传感器测试程序Arduino
- CAD LISP24个源代码
- CAD剖面图制作LISP程序
- 数据采集系统——ADC0808的应用,单片
- 一个比较完整的开源cad 图形程序
-
ob
jectARX给Auto CAD加工具条 - AD7606采集程序
评论
共有 条评论