-
大小: 34.22MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-07-11
- 语言: 其他
- 标签: STM8 STM8L051F3 STM8L例程 STM8例程
资源简介
STM8L051例程,包括STM8L051所有外设例程,使用IAR开发
代码片段和文件信息
/**
******************************************************************************
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3 2018-04-08 11:54 Software\Demo\BuildLog.log
文件 1239 2018-04-08 11:54 Software\Demo\Debug\Exe\Demo.hex
文件 46232 2018-04-08 11:54 Software\Demo\Debug\Exe\Demo.out
文件 15610 2018-04-08 11:54 Software\Demo\Debug\List\Demo.map
文件 801399 2018-04-08 14:06 Software\Demo\Debug\Obj\Demo.pbd
文件 801399 2018-04-08 14:06 Software\Demo\Debug\Obj\Demo.pbd.browse
文件 243 2018-04-08 14:06 Software\Demo\Debug\Obj\Demo.pbd.linf
文件 5338 2018-04-08 11:54 Software\Demo\Debug\Obj\main.o
文件 605567 2018-04-08 11:54 Software\Demo\Debug\Obj\main.pbi
文件 11666 2018-04-08 11:54 Software\Demo\Debug\Obj\main.pbi.xcl
文件 26947 2018-04-08 11:52 Software\Demo\Debug\Obj\stm8l15x_gpio.o
文件 610658 2018-04-08 11:52 Software\Demo\Debug\Obj\stm8l15x_gpio.pbi
文件 11691 2018-04-08 11:52 Software\Demo\Debug\Obj\stm8l15x_gpio.pbi.xcl
文件 51887 2018-04-08 11:52 Software\Demo\Debug\Obj\stm8l15x_it.o
文件 610891 2018-04-08 11:52 Software\Demo\Debug\Obj\stm8l15x_it.pbi
文件 11673 2018-04-08 11:52 Software\Demo\Debug\Obj\stm8l15x_it.pbi.xcl
文件 7818 2018-04-08 14:10 Software\Demo\Demo.dep
文件 16039 2018-04-08 11:52 Software\Demo\Demo.ewd
文件 58696 2018-04-08 11:52 Software\Demo\Demo.ewp
文件 160680 2018-04-08 11:52 Software\Demo\Demo.ewt
文件 158 2018-04-08 11:52 Software\Demo\Demo.eww
文件 49764 2018-04-08 14:10 Software\Demo\settings\Demo.dbgdt
文件 1606 2018-04-08 14:06 Software\Demo\settings\Demo.Debug.cspy.bat
文件 1544 2018-04-08 14:06 Software\Demo\settings\Demo.Debug.cspy.ps1
文件 145 2018-04-08 14:06 Software\Demo\settings\Demo.Debug.driver.xcl
文件 335 2018-04-08 14:06 Software\Demo\settings\Demo.Debug.general.xcl
文件 2381 2018-04-08 14:10 Software\Demo\settings\Demo.dnx
文件 27449 2018-04-08 14:10 Software\Demo\settings\Demo.wsdt
文件 134533 2014-10-22 21:31 Software\Demo\StdPeriph_Driver\inc\stm8l15x.h
文件 17052 2014-10-22 21:31 Software\Demo\StdPeriph_Driver\inc\stm8l15x_adc.h
............此处省略1973个文件信息
- 上一篇:Druid实时大数据分析原理与实践(欧阳辰)
- 下一篇:思科防火墙IOS
相关资源
- Flash Loader Demonstrator v2.8.0 STM8&32 程序器
- stm8 lin 官方代码
- STM8L15X系列库函数例程
- STM8+COSMIC+C编译器4.3.4破解+支持STVD+支
- 最新固件库STM8L
- stm8 BLDC开发资料含原理图源码及学习
- STM32 STM8 全系列原理图库和封装库
- STM8应用全集(STM8函数库STM8例程STM8参
- STM8L15X中文参考手册.pdf
- STM8库函数例程
- STM8库函数例程大全
- IARforSTM82.10破解.rar
- STM8+BLDC程序&&原理图
- 基于STM8S103F3P6的超声波测距仪与温度
- 基于BS818A的八位电容触摸按键方案
- STM8L15x-16x-05x-AL31-L_StdPeriph_Lib.7z
- STM8S003F代码
- iar stm8 1.301开发环境STM8S开发包亲测可
- stm8l多种例程代码
- STM8实战_14042492.pdf
- 深入浅出stm8单片机入门、进阶与应用
- stm8程序100个
- STM8L152各种例程
- STM8单片机自学笔记-范红刚著
- iar for stm8 V1.301.rar
- STM8L硬件IIC从机
- STM8L152例程
- 基于IAR的STM8L152的USART+ADC(双通道)带
- DS2782 美信电量计芯片 IIC STM32/STM8/5
- STM8Rs485通信历程
评论
共有 条评论