• 大小: 15.28MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-07-04
  • 语言: 其他
  • 标签: STM8L  最新  固件库  

资源简介

ST公司STM8L单片机最新固件库 2013年。

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    stm8l15x_adc.c
  * @author  MCD Application Team
  * @version V1.6.0
  * @date    28-June-2013
  * @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 ADC_co

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-08-16 09:15  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\
     目录           0  2013-08-16 09:15  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\
     目录           0  2013-08-16 09:15  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\
     文件       47268  2013-06-28 10:45  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\Release_Notes.html
     目录           0  2013-08-16 09:15  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\
     文件      134436  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x.h
     文件       16955  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_adc.h
     文件        5101  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_aes.h
     文件        3599  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_beep.h
     文件       19448  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_clk.h
     文件       10005  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_comp.h
     文件       10191  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_dac.h
     文件       13284  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_dma.h
     文件        9832  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_exti.h
     文件       14566  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_flash.h
     文件        6553  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_gpio.h
     文件       35479  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_i2c.h
     文件        2309  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_irtim.h
     文件       14145  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_itc.h
     文件        4674  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_iwdg.h
     文件       22688  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_lcd.h
     文件        4526  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_pwr.h
     文件        3143  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_rst.h
     文件       37814  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_rtc.h
     文件       14516  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_spi.h
     文件       21061  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_syscfg.h
     文件       37433  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim1.h
     文件       29183  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim2.h
     文件       29061  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim3.h
     文件       11740  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim4.h
     文件       28460  2013-06-27 14:57  STM8L15x-16x-05x-AL31-L_StdPeriph_Lib_V1.6.1\Libraries\STM8L15x_StdPeriph_Driver\inc\stm8l15x_tim5.h
............此处省略488个文件信息

评论

共有 条评论