STM32LXX 固件库


如题,STM32LXX 的标准固件库, 库和文档都比较齐全,官网可下载;
资源截图
代码片段和文件信息
/**
  ******************************************************************************
  * @file    system_stm32l1xx.c
  * @author  MCD Application Team
  * @version V1.3.3
  * @date    20-April-2015
  * @brief   CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
  *          This file contains the system clock configuration for STM32L1xx Ultra
  *          Low Power devices and is generated by the clock configuration
  *          tool “STM32L1xx_Clock_Configuration_V1.1.0.xls“.
  *             
  * 1.  This file provides two functions and one global variable to be called from 
  *     user application:
  *      - SystemInit(): Setups the system clock (System clock source PLL Multiplier
  *                      and Divider factors AHB/APBx prescalers and Flash settings)
  *                      depending on the configuration made in the clock xls tool. 
  *                      This function is called at startup just after reset and 
  *                      before branch to main program. This call is made inside
  *                      the “startup_stm32l1xx_xx.s“ file.
  *                        
  *      - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
  *                                  by the user application to setup the SysTick 
  *                                  timer or configure other parameters.
  *                                     
  *      - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
  *                                 be called whenever the core clock is changed
  *                                 during program execution.   
  *      
  * 2. After each device reset the MSI (2.1 MHz Range) is used as system clock source.
  *    Then SystemInit() function is called in “startup_stm32l1xx_xx.s“ file to
  *    configure the system clock before to branch to main program.    
  *    
  * 3. If the system clock source selected by user fails to startup the SystemInit()
  *    function will do nothing and MSI still used as system clock source. User can 
  *    add some code to deal with this issue inside the SetSysClock() function.
  * 
  * 4. The default value of HSE crystal is set to 8MHz refer to “HSE_VALUE“ define
  *    in “stm32l1xx.h“ file. When HSE is used as system clock source directly or
  *    through PLL and you are using different crystal you have to adapt the HSE
  *    value to your own configuration.
  * 
  * 5. This file configures the system clock as follows:  
  *=============================================================================
  *                         System Clock Configuration
  *=============================================================================
  *        System Clock source          | PLL(HSE)
  *-----------------------------------------------------------------------------
  *        SYSCLK                       | 32000000 Hz
  *---------------------------------

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ......R     24914  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISCMSIS END USER LICENCE AGREEMENT.pdf

    ......R    505206  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxIncludestm32l1xx.h

    ......R      2220  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxIncludesystem_stm32l1xx.h

    ......R     33403  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxRelease_Notes.html

    ......R     14803  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesarmstartup_stm32l1xx_hd.s

    ......R     13020  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesarmstartup_stm32l1xx_md.s

    ......R     14559  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesarmstartup_stm32l1xx_mdp.s

    ......R     14729  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesarmstartup_stm32l1xx_xl.s

    ......R     11998  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesgcc_ride7startup_stm32l1xx_hd.s

    ......R     10669  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesgcc_ride7startup_stm32l1xx_md.s

    ......R     11745  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesgcc_ride7startup_stm32l1xx_mdp.s

    ......R     11909  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesgcc_ride7startup_stm32l1xx_xl.s

    ......R     17100  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesiarstartup_stm32l1xx_hd.s

    ......R     14563  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesiarstartup_stm32l1xx_md.s

    ......R     16502  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesiarstartup_stm32l1xx_mdp.s

    ......R     16918  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesiarstartup_stm32l1xx_xl.s

    ......R     20175  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatessystem_stm32l1xx.c

    ......R      3686  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesTASKINGcstart_thumb2.asm

    ......R     12064  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesTrueSTUDIOstartup_stm32l1xx_hd.s

    ......R     10737  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesTrueSTUDIOstartup_stm32l1xx_md.s

    ......R     11806  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesTrueSTUDIOstartup_stm32l1xx_mdp.s

    ......R     11975  2015-04-21 01:56  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDeviceSTSTM32L1xxSourceTemplatesTrueSTUDIOstartup_stm32l1xx_xl.s

    ......R     11118  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmlannotated.html

    ......R      1082  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmlannotated.js

    ......R       671  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmlc_s.png

    ......R       147  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmldwn.png

    ......R       922  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmlcheck.png

    ......R     11104  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmlclasses.html

    ......R       132  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmlclosed.png

    ......R     20532  2015-04-20 21:15  STM32L1xx_StdPeriph_Lib_V1.3.1LibrariesCMSISDocumentationCorehtmlcmsis.css

............此处省略1494个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)