资源简介
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个文件信息
相关资源
- STM8L标准库,包含10x和15x两个系列,解
- STM32F4读取ADS1262数据外部压力传感器
- ADS1278中文资料
- 4G LTELTE-Advanced for Mobile Broadband (Sec
- gaopin_wrk.rar
- IDEA+Gradle+SpringMVC+Json
- ZBrush材质球350个
- CDH开启Kerberos+Sentry权限控制-实施配置
- AD7606数据采集程序+STM32
- Ezpad5SEbios.bin
- Gradle Beyond the Basics
- BadApple源码
- cadence pspice 器件库
- AD的常见元件库和封装库
- Spring+SpringMVC+Mybatis+AdminLTE(BootStrap)
- pread_image_data.rar
- vivado高层次综合手册
- STM32_ADS1256驱动程序
- STM8L101官方例程
- -AC Electric Motors Control_ Advanced Design T
- 音频测量与音箱设计软件(LSPCAD Jus
- STM32F103C8T6最小系统板PCB图AD项目
- STM8L标准库函数库c
- 08_应用PSCAD进行直流输电系统仿真研究
- AutoCAD+.NET参考指南-英文版
- MPU6050 DMP+ADXL345+NRF24L01+HAL库+STM32F103C
- Altera FPGA全型号Cadence封装库原理图+
- Bad.Data.Handbook
- 802.11n 基于gnuradio实现
- Foxit Reader(福昕PDF阅读器) v4.3.1.02
评论
共有 条评论