Back to main page

STM32F10x Standard Peripherals Library: Package description

 

Copyright 2010 STMicroelectronics

 

 

Package description

The STM32F10x Standard Peripherals library is supplied in one single zip file. The extraction of the zip file generates one folder, STM32F10x_StdPeriph_Lib_VX.Y.Z, which contains the following subfolders:

 

_htmresc folder
     This Folder contains all package html page resources.

Libraries folder
       This folder contains all CMSIS files and STM32F10x Standard Peripheral's Drivers.

CMSIS  subfolder  
This folder contains the STM32F10xxx CMSIS files: device peripheral access layer and core peripheral access layer

           STM32F10x_StdPeriph_Driver subfolder
           This folder contains all the subdirectories and files that make up the core of the library:

                    inc sub-folder contains the Peripheral's Drivers header files. They do not need to be modified by the user:  

                           misc.h: all the functions prototypes for the miscellaneous firmware library functions.

                           stm32f10x_ppp.h (one header file per peripheral): Function prototypes, data structures and enumeration.                             

                     src sub-folder contains the Peripheral's Drivers source files. They do not need to be modified by the user:

                           misc.c: all the miscellaneous firmware functions (add-on to CMSIS functions)..

                            stm32f10x_ppp.c (one source file per peripheral): Function bodies of each peripheral.

          All STM32F10x Standard Peripheral's drivers are coded in Strict ANSI-C and are independent from the software toolchain.

Project folder 
This folder contains template projects and STM32F10x Standard Peripheral's examples

STM32F10x_StdPeriph_Examples subfolder , complete list of available examples

           This folder contains, for each peripheral sub-folder, the minimum set of files needed to run a typical example on how to use this peripheral:
                           readme.txt: brief text file describing the example and how to make it work.
                           stm32f10x_conf.h: header file allowing to enable/disable the peripheral's drivers header files inclusion.
                           stm32f10x_it.c: source file containing the interrupt handlers (the function bodies may be emptied if not used).
                           stm32f10x_it.h: header file including all interrupt handler prototypes.
                           main.c: example of code.
                           platform_config.h: (if exists) STMicroelectronics Evaluation board specific configuration file.

STM32F10x_StdPeriph_Template  subfolder

              This folder contains standard template projects for EWARM, MDK-ARM, RIDE, HiTO and TrueSTUDIO toolchains that compile the needed 

              STM32F10x Standard Peripheral's drivers plus all the user-modifiable files that are necessary to create a new project:
                           stm32f10x_conf.h: configuration header file.
                           stm32f10x_it.c: source file containing the interrupt handlers (the function bodies are empty in this template).
                           stm32f10x_it.h: header file including all interrupt handlers prototypes.
                           main.c: main program body.
                      EWARM, MDK-ARM, RIDE, HiTOP subfolders: contains respectively the template project for EWARM, MDK-ARM, RIDE, HiTOP 

                          and TrueSTUDIO  toolchains  (for more details, refer to readme file provided within the template project).

                          Two workspaces are provided for each project template:

                                       - STM32100E-EVAL: to configure the project for STM32 High-density Value line devices
                                       - STM32100B-EVAL: to configure the project for STM32 Medium-density Value line devices

                                       - STM3210C-EVAL: to configure the project for STM32 Connectivity line devices

                                       - STM3210E-EVAL: to configure the project for STM32 High-density devices

                                       - STM3210B-EVAL: to configure the project for STM32 Medium-density devices

                                       - STM32F10X_XL: to configure the project for STM32 XL-density devices

Utilities folder

 

STM32_EVAL Implement an abstraction layer to interact with the Human Interface resources; buttons, LEDs, LCD and COM ports (USARTs) available on STMicroelectronics STM32100E-EVAL (High-density Value line),  STM32100B-EVAL (Medium-density Value line), STMicroelectronics STM3210C-EVAL (Connectivity line), STM3210E-EVAL (High-density and XL-density) and STM3210B-EVAL (Medium-density) evaluation boards. The stm32_eval.c driver provides a common API to interact with buttons, LEDs and COM ports, while these resources hardware  definitions is made in the header file of each evaluation board (stm3210x_eval.h). A common API is provided to manage the LCD across the supported boards, with a separate driver for each board stm3210x_eval_lcd.c.

            Common: contains common part for all STM32 EVAL board containing: Leds, push-buttons, COM ports, serial I2C EEPROM memory  

               (sEE), serial SPI FLASH memory (sFLASH),  Temperature sensor (LM75), SD Card memories on SPI and SDIO interfaces.

           STM32100E_EVAL: contains LEDs, buttons and COM ports hardware definition file, LCD driver, IO Expander, FSMC SRAM driver,  

               FSMC OneNAND driver and HDMI CEC driver for this board.
           STM32100B_EVAL: contains LEDs, buttons and COM ports hardware definition file, LCD driver and HDMI CEC driver for this board.

                        STM3210C_EVAL: contains LEDs, buttons and COM ports hardware definition file, IO Expander and LCD driver for this board.
                        STM3210E_EVAL: contains LEDs, buttons and COM ports hardware definition file, LCD driver, FSMC SRAM driver, FSMC NOR driver
                           and FSMC NAND driver for this board.                          
                       STM3210B_EVAL: contains LEDs, buttons and COM ports hardware definition file and LCD driver for this board.

 Back to Top

 

For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit www.st.com/STM32