资源简介
stm8l多种例程代码,包括spi,i2c,uart、中断、lcd等例程
代码片段和文件信息
/**
******************************************************************************
* @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 2018-01-18 11:32 stm8l资料\
目录 0 2014-10-23 01:09 stm8l资料\Libraries\
目录 0 2018-01-15 10:47 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\
文件 49512 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\Release_Notes.html
目录 0 2018-01-15 10:47 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\
文件 134533 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x.h
文件 17052 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_adc.h
文件 5200 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_aes.h
文件 3698 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_beep.h
文件 19547 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_clk.h
文件 10104 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_comp.h
文件 10290 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_dac.h
文件 13383 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_dma.h
文件 9931 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_exti.h
文件 14659 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_flash.h
文件 6652 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_gpio.h
文件 35578 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_i2c.h
文件 2408 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_irtim.h
文件 14238 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_itc.h
文件 4773 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_iwdg.h
文件 22787 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_lcd.h
文件 4625 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_pwr.h
文件 3242 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_rst.h
文件 37913 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_rtc.h
文件 14615 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_spi.h
文件 21160 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_syscfg.h
文件 37532 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim1.h
文件 29284 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim2.h
文件 29162 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim3.h
文件 11839 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim4.h
文件 28561 2014-10-22 21:31 stm8l资料\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim5.h
............此处省略698个文件信息
相关资源
- STM8L中文参考手册1-4全
- STM8L_MPU6500_DMP_震动唤醒
- STM8L051 低功耗运行模式 库函数例程
- STM8L051.串口接收IDLE中断.zip
- 额温枪STM8L方案含原理图和代码.rar
- STM8L 硬件IIC主机
- STM32F103C8T6核心板使用说明,原理图,
- 基于TMS320F28069智能平衡车平衡小车基
- STM8L 内部温度ADC检测
- MSP430 F5529 LaunchPad完整资料内含例程代
- STM8L标准库,包含10x和15x两个系列,解
- stm8l使用AD测量内部温度 库函数版本工
- STM8L101官方例程
- STM8L标准库函数库c
- STM8L15例程
- stm8l151串口通信例程
- 最新STM8L101固件库
- 基于STM8L红外解码按键扫描C程序
- STM8L152c8T6+Xmodem+IAP
- 基于STM8L152和TM1638的电子时钟
- HC-SR04超声波测距资料及例程代码 51单
- STM8L051F3P6中文.pdf
- STM8L052工程模板
- STM8L101F3代码大全
- stm32f103 例程代码
- F28335实验例程
- STM32F103C8T6开发参考例程代码
- stm8L051参考代码
- STM8L15x 库例程大全
- K60例程代码
评论
共有 条评论